514 B
514 B
title | localeTitle |
---|---|
Store Data with Sass Variables | Сохранять данные с помощью переменных Sass |
Сохранять данные с помощью переменных Sass
Решение
<style type='text/sass'>
$text-color: red; // Declaration of the variable "text-color".
.header{
text-align: center;
}
.blog-post, h2 {
color: $text-color; // Changing the value of color with the value of "text-color".
}
</style>