H
H
HongThong2019-07-25 18:43:16
css
HongThong, 2019-07-25 18:43:16

How to make star rating for IE8?

Hello, please tell me the cross-browser version of the rating JS code for IE8.
https://codepen.io/TAlex/pen/xLgZmO

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Bogomazov, 2019-07-25
@bogomazov_vadim

Instead of using classList, you work with the className property ( https://www.sitepoint.com/community/t/classname-an... - an example of addClass, hasClass, removeClass functions)
Instead of flex, on the parent display: inline-block ; on items.
transition'y will not work, tk. css3.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question