Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :root {
- --main-title-centered: center;
- }
- body {
- margin: 0;
- }
- .main-bg {
- width: 100%;
- height: 100vh;
- background: rgb(207, 206, 185);
- }
- .centered {
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- .main_title, .main_subtitle {
- text-align: var(--main-title-centered);
- color: rgb(179, 21, 6);
- }
- .main_title {
- font-size: 1.8em;
- }
- .main_subtitle {
- font-size: 1.5em;
- }
Add Comment
Please, Sign In to add comment