Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Blog post step 2 - add CSS for demo project
- Loading branch information
1 parent
90156bf
commit db9371431ab3288233cc5ec7ecd32f6c449c8d54
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,29 @@ | ||
:root { | ||
--color-purple: rgba(197, 18, 193, 1); | ||
--color-pink: rgba(241, 50, 50, 1); | ||
} | ||
|
||
body { | ||
margin: 0; | ||
height: 100vh; | ||
display: flex; | ||
font-family: Arial; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.site__title { | ||
font-size: 100px; | ||
width: 50%; | ||
text-align: center; | ||
} | ||
|
||
.site__title-text { | ||
background: -webkit-linear-gradient( | ||
34deg, | ||
var(--color-purple), | ||
var(--color-pink) | ||
); | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} |