Home > Article > Web Front-end > CSS conditional comments_html/css_WEB-ITnose
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.