Skip to content

Instantly share code, notes, and snippets.

@eimkasp
Created June 21, 2021 15:27
Show Gist options
  • Save eimkasp/6fee761a59a1d1fa077d48867af2d568 to your computer and use it in GitHub Desktop.
Save eimkasp/6fee761a59a1d1fa077d48867af2d568 to your computer and use it in GitHub Desktop.
SasS basics example
// Galime naudoti ir paprasta css sintakse
.slick-relative {
position: relative;
}
.slick-slide {
height: 150px;
}
.slider-wrapper {
display: block;
height: 150px;
}
// SasS Sintakses pavyzdys
.infotechno-hero-text {
max-width: 605px;
float: right;
width: 100%;
padding-left: 30px;
h6 {
color: #086ad8;
font-weight: 500;
margin-bottom: 20px;
text-align: left;
&:hover {
color: red;
}
&.active {
color: green;
}
@media(max-width: 768px) {
text-align: center;
}
}
}
.slick-relative {
position: relative;
}
.slick-slide {
height: 150px;
}
.slider-wrapper {
display: block;
height: 150px;
}
.infotechno-hero-text {
max-width: 605px;
float: right;
width: 100%;
padding-left: 30px;
}
.infotechno-hero-text h6 {
color: #086ad8;
font-weight: 500;
margin-bottom: 20px;
text-align: left;
}
.infotechno-hero-text h6:hover {
color: red;
}
.infotechno-hero-text h6.active {
color: green;
}
@media (max-width: 768px) {
.infotechno-hero-text h6 {
text-align: center;
}
}
{
"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