100-project-100-days-website/100_projects/72-effects-on-mousemove-using-sketch.js/style.css

25 lines
366 B
CSS
Raw Normal View History

2023-05-04 18:16:39 +03:00
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #000;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1{
position: relative;
color: #fff;
font-size: 100px;
text-align: center;
}
canvas{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}