center the div :3

This commit is contained in:
Ashley 2023-02-15 17:30:41 +00:00
parent 844c526a6b
commit cfccd4417a

View file

@ -1,8 +1,7 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<link href="https://codeberg.org/Ashley/poketube/raw/branch/main/css/yt-ukraine.svg" rel=icon>
<title> warming up... </title>
<style>
* {
@ -10,23 +9,23 @@
}
body {
display: flex;
height: 100vh;
background: #111;
}
div {
margin: auto;
display: flex;
flex-flow: column;
align-self: center;
background: #333;
color: #fff;
padding: 1em;
border-radius: 31px;
min-height: 34em;
display: flex;
flex-flow: column;
align-self: center;
background: #333;
color: #fff;
padding: 1em;
border-radius: 31px;
min-height: 34em;
}
a {
color:#0ab7f0;
text-decoration: none;
}
a.class:hover {
text-decoration: underline;