Created
August 6, 2020 04:30
-
-
Save ahmedsakr/921786b2a4de8217fac4f44bc9a937ee to your computer and use it in GitHub Desktop.
Stylesheet for rfs demo
This file contains hidden or 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
@import "./node_modules/rfs/scss.scss"; | |
body { | |
margin: 0; | |
} | |
#content-container { | |
display: flex; | |
height: 100vh; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
text-align: center; | |
> * { | |
flex-shrink: 1; | |
} | |
> img { | |
max-width: 300px; | |
height: auto; | |
} | |
> h1 { | |
@include rfs(4rem); | |
} | |
> p { | |
@include rfs(2rem); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment