Home > Web Front-end > HTML Tutorial > CSS conditional comments_html/css_WEB-ITnose

CSS conditional comments_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:11
Original
1002 people have browsed it

Due to different browser versions, the interpretation of certain elements in CSS is also different. Different CSS codes are selected for different browser versions.
In fact, we can also use conditional comments Methods to achieve similar purposes, what are conditional comments, let me briefly introduce it, it is nothing more than some if judgments, haha, but these judgments are not executed in the script, but directly executed in the html code. Let’s follow Let me introduce how to use it.