Hi …
Short question. When I want to animate an element or image - what is the correct way to do it.
For example an Image. I give the image a class ( fancy-image)
The I use the additional CSS option in the code editor and taget the class with:
.fancy-image
and use my code …
But I also need .fancy-image:before and .fany-image:hover:before and so on …
I do this also in the CSS option.
But is it important to set these class to the element too? Or in the class manager ? Or is the fancy-image class enough ?
ok. So when I use additional CSS and dont use the class. But without additional CSS I set the class in the class manager and style it this way. Understood. That Code use a class called fancy-image:before …
why there is only one “:” and not like u wrote “::” …
sorry … inside blocs I use the . to target the class …but it don’t work
But I learned a few minutes ago that this example use pseudo classes …also not important to set the class to the element ? automatically attached to the fancy-img class ?
The code works inside Sublime text … but inside blocs I dont get it to work
When I use the “a” instead of my own class all the links change - then it works