Skip to content

Instantly share code, notes, and snippets.

View Fedozie's full-sized avatar
🗣️
I am just trying to amount to something

Edozie Onyeanusi Fedozie

🗣️
I am just trying to amount to something
View GitHub Profile
@Fedozie
Fedozie / input.scss
Last active May 4, 2021 13:42
Generated by SassMeister.com.
$total: 7;
@function col-width($col, $total){
@return percentage($col/$total);
}
.col-1{
width: col-width($col:1, $total:7);
}
@Fedozie
Fedozie / input.scss
Created April 30, 2021 05:59
Generated by SassMeister.com.
.btn{
padding: .3rem;
border: none;
color: none;
margin: 1rem;
}
.btn-primary{
@extend .btn;
@Fedozie
Fedozie / input.scss
Created April 30, 2021 05:58
Generated by SassMeister.com.
.btn{
padding: .3rem;
border: none;
color: none;
margin: 1rem;
}
.btn-primary{
@extend .btn;
@Fedozie
Fedozie / input.scss
Created April 29, 2021 21:56
Generated by SassMeister.com.
@mixin list-item($borderColor, $backColor){
border-color: $borderColor;
background-color: $backColor;
}
ul{
display: flex;
flex-direction: column;
@Fedozie
Fedozie / input.scss
Last active April 29, 2021 15:15
Generated by SassMeister.com.
$mainFont: ‘Open Sans’, sans-serif;
$subFont: Helvetica, sans-serif;
$half: 50%;
body{
font-family: $mainFont;
width: 100vw;
}
.container{
@Fedozie
Fedozie / input.scss
Last active April 29, 2021 15:06
Generated by SassMeister.com.
.header{
margin: 1.5rem;
background-color: green;
display: flex;
justify-content: space-between;
&-nav{
background-color: white;
width: 60%;