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
Drop-shadow and box-shadow are both CSS propertie...
Use Code Cloud to build a Git code storage wareho...
Sometimes when requesting certain interfaces, you...
question Question 1: How to solve the performance...
Mongodb has a db.serverStatus() command, which ca...
Table of contents 1. Resources and Construction 1...
How to solve the problem of being unable to acces...
What is ELK? ELK is a complete set of log collect...
Problem description: For example, the content of ...
Solve the problem that the responseText returned ...
1. Unzip the downloaded MySQL compressed package ...
Two examples of the use of the a tag in HTML post...
CSS background: background:#00ffee; //Set the back...
<frameset></frameset> is familiar to e...
Use HSSFWorkbook in Apache.POI to export to Excel...