web-html5-scripts/landing-page-canvas-color/style.css

61 lines
1.0 KiB
CSS
Raw Normal View History

html, body {
overflow: hidden;
background-color: #000;
}
body {
margin: 0;
position: fixed;
width: 100%;
height: 100%;
}
canvas {
width: 100%;
height: 100%;
}
h2 {
padding: 0;
margin: 0;
color: white;
font-size: 50px;
position: absolute;
text-decoration: none;
display: block;
font-display: unset;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Maven Pro', sans-serif;
}
h3 {
padding: 0;
margin: 0;
color: white;
font-size: 30px;
position: absolute;
text-decoration: none;
display: block;
font-display: unset;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Maven Pro', sans-serif;
}
h4 {
padding: 0;
margin: 0;
color: white;
font-size: 20px;
position: absolute;
text-decoration: none;
display: block;
font-display: unset;
top: 58%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Open Sans Condensed', sans-serif;
}