A
A
Artem Pavliienko2018-08-02 11:51:54
css
Artem Pavliienko, 2018-08-02 11:51:54

Why are styles not being applied to the option tag in the Safari browser?

Hello.
I made a list of countries with flags that I added to each "option" via ":before", in all browsers everything is fine. But in safari css styles are not applied. Tested on version 11 of Safari. Please tell me why and how to fix it.
Example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Belkevich, 2018-08-02
@AlexBelkevich

It's not cross-browser. If you want to style something a lot, find a plugin that can do it. All these before, etc. for selects will give one headache. In general, styling selects is another topic...)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question