Styling
In an attempt to enhance the aesthetics of a
HTML:
<select name=""> <option value="">Test</option> </select>
CSS:
select { -webkit-appearance: none; background: black; border: none; border-radius: 0; color: white; } select::after { content: ""; display: inline-block; width: 24px; height: 24px; background: blue; }
However, the expected result of a split
The above is the detailed content of Why Doesn\'t CSS `::after` Style My `` Element in WebKit?. For more information, please follow other related articles on the PHP Chinese website!