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
I came into contact with CSS a long time ago, but...
Whether it is a corporate website, a personal blo...
Table of contents 1. Preparation: 2. Source code ...
background A few days ago, when I was doing pagin...
Table of contents What is MySQL NDB Cluster Preli...
This article shares with you a detailed tutorial ...
Table of contents 1. Project Requirements Second,...
I have been taking a lot of MySQL notes recently,...
To achieve the association of the frame window, th...
Requirement: Sometimes, when the page content is ...
Counting the number of a string in a file is actu...
1. Install kvm virtualization : : : : : : : : : :...
<div align="center"> <table sty...
Table of contents 1. What is currying 2. Uses of ...
docker attach command docker attach [options] 容器w...