hr tag part 2
- HTML----------------
- <hr class="hr-11">
- <hr class="hr-12">
- <hr class="hr-13">
- <hr class="hr-14">
- <hr class="hr-15">
- <hr class="hr-16">
- <hr class="hr-17">
- <hr class="hr-18">
- <hr class="hr-19">
- CSS------------------
- hr {
- background-color: #fff;
- padding: 0;
- margin: 80px;
- }
- hr.hr-11 {
- border: 0;
- border-top: 1px dashed #8c8c8c;
- border-bottom: 1px dashed #fff;
- }
- hr.hr-12 {
- border: 0;
- border-top: 1px dotted #8c8c8c;
- border-bottom: 1px dotted #fff;
- }
- hr.hr-13 {
- height: 10px;
- border: 0;
- box-shadow: 0 10px 10px -10px #8c8c8c inset;
- }
- hr.hr-14 {
- border: 0;
- height: 1px;
- background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
- background-image: -moz-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
- background-image: -ms-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
- background-image: -o-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
- }
- hr.hr-15 {
- border: 0;
- border-top: 4px double #8c8c8c;
- text-align: center;
- }
- hr.hr-15:after {
- content: '\2665';
- display: inline-block;
- position: relative;
- top: -15px;
- padding: 0 10px;
- background: #fff;
- color: #8c8c8c;
- font-size: 18px;
- }
- hr.hr-16 {
- border: 0;
- border-top: 1px dashed #8c8c8c;
- text-align: center;
- }
- hr.hr-16:after {
- content: '\002702';
- display: inline-block;
- position: relative;
- top: -13px;
- padding: 0 3px;
- background: #fff;
- color: #8c8c8c;
- font-size: 18px;
- }
- hr.hr-17 {
- border: 0;
- height: 0;
- box-shadow: 0 0 10px 1px black;
- }
- hr.hr-17:after {
- content: "\00a0";
- }
- hr.hr-18 {
- background-color: #fff;
- height: 30px;
- border: 1px solid #8c8c8c;
- border-radius: 20px;
- }
- hr.hr-18:before {
- display: block;
- content: "";
- height: 30px;
- margin-top: -31px;
- border: 0 solid #8c8c8c;
- border-bottom-width: 1px;
- border-radius: 20px;
- }
- .hr-19 {
- border: none;
- height: 10px;
- background: linear-gradient(-135deg, #fff 5px, transparent 0) 0 5px, linear-gradient(135deg, #fff 5px, #8c8c8c 0) 0 5px;
- background-color: #fff;
- background-position: left bottom;
- background-repeat: repeat-x;
- background-size: 10px 10px;
- }