A
A
Alex2017-10-03 06:26:22
Sass
Alex, 2017-10-03 06:26:22

Directive @media SCSS and @extend which is correct?

Good afternoon,
there is such scss

.titles{
@extend .size50;


 
@media (max-width: 992px){
@extend .size20 ;
}
}

respectively at the beginning
.size20{
font-size:20px;	
}
.size50{
font-size:50px;	
}

But still, at a resolution less than 992px, the font size is 50 px. The visibility area does not work along the way ... tell me how to correctly make a media query. Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question