Last active
October 13, 2023 20:23
-
-
Save stacyk/c9b690f7b0bba15789ebdeadb0be6b95 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
body { | |
--width-large: 100; | |
--width-small: 25; | |
--colpx: calc(var(--width-large) / var(--width-small) * 1px); | |
--colrem: calc(var(--width-large) / var(--width-small) * 1rem); | |
--colfr: calc(var(--width-large) / var(--width-small) * 1fr); | |
border: solid olive var(--colpx); | |
display: grid; | |
font-size: var(--colrem); | |
grid-template-columns: 1fr var(--colfr); | |
} | |
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
<div>First Column</div> | |
<div>Second Column</div> |
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
body { | |
--width-large: 100; | |
--width-small: 25; | |
--colpx: calc(var(--width-large) / var(--width-small) * 1px); | |
--colrem: calc(var(--width-large) / var(--width-small) * 1rem); | |
--colfr: calc(var(--width-large) / var(--width-small) * 1fr); | |
border: solid olive var(--colpx); | |
display: grid; | |
font-size: var(--colrem); | |
grid-template-columns: 1fr var(--colfr); | |
} |
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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment