Home > Web Front-end > JS Tutorial > body text

What does class='no-js' mean?

php中世界最好的语言
Release: 2018-03-14 09:34:25
Original
5264 people have browsed it

This time I will bring you what class="no-js" means, what are the precautions when using class="no-js", the following is a practical case, let's take a look.

First, confirm that no-js is the class name (class) used with Modernizr.

Modernizr is a javascript library that checks whether your browser supports CSS3 or HTML5 features and automatically adds some class names to And replace the original .no-js (in simple terms, Modernizr is a CSS3/HTML5 tester. What you need to test can be configured on its official website and select the elements you need to test).

Also make your browser support the new tags in HTML5, such as:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template