Public name of the page:
Basic naming:
CSS file naming:
Naming suggestions:Whether it is named after the "." (lowercase period) selector or the "#" (pound sign) selector, we finally follow that the main, important, special, and outermost boxes are named after the "#" (pound sign) selector, and the others are named after the "." (lowercase period), while considering the named CSS selectors to be reused in HTML. This concludes this article about the commonly used naming rules for CSS classes and ids. For more information on CSS class and id naming rules, please search 123WORDPRESS.COM’s previous articles or continue browsing the related articles below. We hope that everyone will support 123WORDPRESS.COM in the future! |
<<: HTML user registration page settings source code
Starting and shutting down Tomcat under Linux In ...
Using padding-top percentage can achieve a fixed ...
Sometimes you need to install certain dependencie...
NERDTree is a file system browser for Vim. With t...
Serve: # chkconfig --list List all system service...
I have recently learned web development front-end...
At this time, you can use overflow:auto; (when the...
1. Use of alias The alias command is used to set ...
Preface Due to the needs of the company's bus...
When using Docker in a production environment, da...
Many people have encountered this error when star...
Use pure CSS to change the background color of a ...
We all have files stored on our computers -- dire...
Use CSS to modify scroll bars 1. Overflow setting...
The first step is to install TypeScript globally ...