Welcome aboard! We are happy you are here and wish you good net-raft!
<head>
<style>
body
{
background-color: #fcfcfc;
}
.center-div
{
position: fixed;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100px;
height: 100px;
background-color: #ccc;
border-radius: 3px;
}
</style>
</head>
<body>
<div class="center-div"></div>
</body>
The most helpful CSS solutions
How to set bootstrap popover borders in css ?CSS Click to see more ... 1.3K 91