center the div :3

This commit is contained in:
Ashley 2023-02-15 17:30:41 +00:00
parent a393f7e2f5
commit 1fb7f9fa4b

View file

@ -1,33 +1,32 @@
<!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>
<link href="https://codeberg.org/Ashley/poketube/raw/branch/main/css/yt-ukraine.svg" rel=icon>
<title> warming up... </title>
<style>
* {
font-family:sans-serif;
}
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;
margin: auto;
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;
}
text-decoration: none;
}
a.class:hover {
text-decoration: underline;
font-weight: bold;