Generally, we rarely meet HR, but once we do, it can determine life or death. The same is true in HTML, we don’t see <hr /> very often, but when we see it it usually determines whether we can have a perfect divider. Here, I won’t attach any pictures, just list them for reference:
For example, if you want to create a dividing line with an actual height of 3px, four sides of 1px, a border color of #07f, and other parts of the color of #f60, you know: Copy code The code is as follows:hr{ height:1px; *height:3px; color:#f60;/* for ie6 ie7 */; background-color:#f60; border:1px solid #07f; } @-moz-document url-prefix(){ hr{height:3px;}} /* for firefox */ Are there any other less laborious solutions? |
<<: Detailed explanation of CSS sticky positioning position: sticky problem pit
>>: An in-depth summary of MySQL time setting considerations
This article uses examples to illustrate the usag...
Table of contents 1. Preparation before installat...
1. Add skip-grant-tables to the my.ini file and r...
Follow the steps below 1. request.js content: htt...
Table of contents Use of CURRENT_TIMESTAMP timest...
This article example shares the specific code for...
1. Introduction Presto is an open source distribu...
Table of contents 1. Gojs Implementation 1. Drawi...
Table of contents Two modules for using nginx for...
Grid layout Attributes added to the parent elemen...
As we all know, the CSS position absolute is set ...
Recently, when I was learning docker, I found tha...
Problem background: There is a requirement to tak...
We are all familiar with the MySQL count() functi...
Use CSS styles and HTML tag elements In order to ...