Compare commits
2 Commits
939e9adb30
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e37e47bf8 | |||
|
|
87d3dbf9d3 |
18
center_div.html
Normal file
18
center_div.html
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div style="width: 300px; height: 300px; text-align: center; background-color: #d3d3d3">
|
||||||
|
Center Div 1
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
Reference in New Issue
Block a user