SASS, media queries, nested in each other?

Please tell me some sass media queries to 1 selector can only write this way?:
.text {
 @media screen and (max-width: 1500px) {
 font-size: 16px;
}

 @media screen and (max-width: 1320px) {
 font-size: 13px;
}
}


or something easier? type
.text {
 @media screen and (max-width: 1500px) {
 font-size: 16px;

 @media screen and (max-width: 1320px) {
 font-size: 13px;
}
}
}
June 10th 19 at 14:22
0 answer

Find more questions by tags Sass