What kind of design after the class=" "?

Friends that design after defining styles? here this:


<i class="icon-lock m-auto text-primary" data-bs-hover-animate="pulse"></i>
March 23rd 20 at 18:59
2 answers
March 23rd 20 at 19:01
data attribute for bs - most likely bootstrap. Hover-animate - animation, hover, pulse - type animation.
read about data - attributes
March 23rd 20 at 19:03
it dataset attributes for DOM elements, in this case some sort of script reads them and something to do with them.
Sometimes some hang styles on DOM elements using attributes:
*[data-bs-hover-animate="pulse"] {
 background: tomato;

Find more questions by tags CSS