Есть ли способ изменить класс чего-либо с помощью CSS?CSS

Разбираемся в CSS
Anonymous
Есть ли способ изменить класс чего-либо с помощью CSS?

Сообщение Anonymous »


So if I have the code:

Here is some filler code Here is some more filler code Is there some way I can use CSS to make every element have a class?

For example, if I have a class called "text":

.text{ color: white; } can I use a CSS declaration for every h1 to be in the "text" class?

I couldnt find any declarations using CSS like "class:", so I was just wondering.


Источник: https://stackoverflow.com/questions/780 ... -using-css

Вернуться в «CSS»