Created
October 28, 2019 10:45
-
-
Save ikr4-m/57dc7b2aa538324025852b4d22ae424d to your computer and use it in GitHub Desktop.
Kasi tengah kotak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Kotak Tengah</title> | |
<style> | |
body { | |
height: 100vh; | |
display: flex; | |
margin: 0; | |
font-family: 'Segoe UI'; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
margin: 0; | |
} | |
.kotak-tengah { | |
background-color: #000000ab; | |
display: table; | |
padding: 1rem 2.5rem; | |
color: white; | |
border-radius: 20px; | |
box-shadow: 0px 20px 20px -10px black; | |
margin: auto; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="kotak-tengah"> | |
<h1>Tes tengah</h1> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment