BarkingBird

hr's

Oct 4th, 2017
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. <br>
  2. <hr class="style1">
  3. <br>
  4. <hr class="style2">
  5. <br>
  6. <hr class="style3">
  7. <br>
  8. <hr class="style4">
  9. <br>
  10. <hr class="style5">
  11. <br>
  12. <hr class="style6">
  13. <br>
  14. <hr class="style7">
  15. <br>
  16. <hr class="style8">
  17. <br>
  18. <hr class="style9">
  19. <br>
  20. <hr class="style10">
  21. <br>
  22. <hr class="style11">
  23. <br>
  24. <hr class="style12">
  25. <br>
  26. <hr class="style13">
  27. <br>
  28. <hr class="style14">
  29. <br>
  30. <hr class="style15">
  31. <br>
  32. <hr class="style16">
  33. <br>
  34. <hr class="style17">
  35. <br>
  36. <hr class="style18">
  37.  
  38.  
  39. In css, add;
  40.  
  41. body{
  42. background-color: #f0f0f0;
  43. width: 700px;
  44. float: center;
  45. }
  46.  
  47. hr.style1{
  48. border-top: 1px solid #8c8b8b;
  49. }
  50.  
  51.  
  52. hr.style2 {
  53. border-top: 3px double #8c8b8b;
  54. }
  55.  
  56. hr.style3 {
  57. border-top: 1px dashed #8c8b8b;
  58. }
  59.  
  60. hr.style4 {
  61. border-top: 1px dotted #8c8b8b;
  62. }
  63.  
  64. hr.style5 {
  65. background-color: #fff;
  66. border-top: 2px dashed #8c8b8b;
  67. }
  68.  
  69.  
  70. hr.style6 {
  71. background-color: #fff;
  72. border-top: 2px dotted #8c8b8b;
  73. }
  74.  
  75. hr.style7 {
  76. border-top: 1px solid #8c8b8b;
  77. border-bottom: 1px solid #fff;
  78. }
  79.  
  80.  
  81. hr.style8 {
  82. border-top: 1px solid #8c8b8b;
  83. border-bottom: 1px solid #fff;
  84. }
  85. hr.style8:after {
  86. content: '';
  87. display: block;
  88. margin-top: 2px;
  89. border-top: 1px solid #8c8b8b;
  90. border-bottom: 1px solid #fff;
  91. }
  92.  
  93. hr.style9 {
  94. border-top: 1px dashed #8c8b8b;
  95. border-bottom: 1px dashed #fff;
  96. }
  97.  
  98. hr.style10 {
  99. border-top: 1px dotted #8c8b8b;
  100. border-bottom: 1px dotted #fff;
  101. }
  102.  
  103.  
  104. hr.style11 {
  105. height: 6px;
  106. background: url(http://ibrahimjabbari.com/english/images/hr-11.png) repeat-x 0 0;
  107. border: 0;
  108. }
  109.  
  110.  
  111. hr.style12 {
  112. height: 6px;
  113. background: url(http://ibrahimjabbari.com/english/images/hr-12.png) repeat-x 0 0;
  114. border: 0;
  115. }
  116.  
  117. hr.style13 {
  118. height: 10px;
  119. border: 0;
  120. box-shadow: 0 10px 10px -10px #8c8b8b inset;
  121. }
  122.  
  123.  
  124. hr.style14 {
  125. border: 0;
  126. height: 1px;
  127. background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  128. background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  129. background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  130. background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  131. }
  132.  
  133.  
  134. hr.style15 {
  135. border-top: 4px double #8c8b8b;
  136. text-align: center;
  137. }
  138. hr.style15:after {
  139. content: '\002665';
  140. display: inline-block;
  141. position: relative;
  142. top: -15px;
  143. padding: 0 10px;
  144. background: #f0f0f0;
  145. color: #8c8b8b;
  146. font-size: 18px;
  147. }
  148.  
  149. hr.style16 {
  150. border-top: 1px dashed #8c8b8b;
  151. }
  152. hr.style16:after {
  153. content: '\002702';
  154. display: inline-block;
  155. position: relative;
  156. top: -12px;
  157. left: 40px;
  158. padding: 0 3px;
  159. background: #f0f0f0;
  160. color: #8c8b8b;
  161. font-size: 18px;
  162. }
  163.  
  164.  
  165. hr.style17 {
  166. border-top: 1px solid #8c8b8b;
  167. text-align: center;
  168. }
  169. hr.style17:after {
  170. content: 'ยง';
  171. display: inline-block;
  172. position: relative;
  173. top: -14px;
  174. padding: 0 10px;
  175. background: #f0f0f0;
  176. color: #8c8b8b;
  177. font-size: 18px;
  178. -webkit-transform: rotate(60deg);
  179. -moz-transform: rotate(60deg);
  180. transform: rotate(60deg);
  181. }
  182.  
  183.  
  184. hr.style18 {
  185. height: 30px;
  186. border-style: solid;
  187. border-color: #8c8b8b;
  188. border-width: 1px 0 0 0;
  189. border-radius: 20px;
  190. }
  191. hr.style18:before {
  192. display: block;
  193. content: "";
  194. height: 30px;
  195. margin-top: -31px;
  196. border-style: solid;
  197. border-color: #8c8b8b;
  198. border-width: 0 0 1px 0;
  199. border-radius: 20px;
  200. }
Advertisement
Add Comment
Please, Sign In to add comment