Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Step 3 - Add css
Add styles (css) to the style.css file
- Loading branch information
1 parent
58975cc
commit 3aab28449076fb0d80e801d0a1f8cf0c5d8c5e42
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; | ||
} |