Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Buy a domain name - Register cheap domain names from $0.99 - Namecheap

Scalable Hosting That Grows With You

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Semrush - keyword research tool

Boost your online presence with premium web hosting and servers

Disclosure: My content contains affiliate links.

39,845 questions

51,766 answers

573 users

How to style horizontal ruler (line) (HR) in CSS

1 Answer

0 votes
<hr class="class_hr1">
<hr class="class_hr2">
<hr class="class_hr3">
<hr class="class_hr4">
<hr class="class_hr5">
hr.class_hr1 {
  border-top: 1px solid purple;
}

hr.class_hr2 {
  border-top: 2px dashed blue;
}

hr.class_hr3 {
  border-top: 3px dotted lightgreen;;
}

hr.class_hr4 {
  border: 4px solid yellow;
}

hr.class_hr5 {
  border: 7px solid red;
  border-radius: 5px;
}

 



answered Jun 14, 2021 by avibootz

Related questions

1 answer 216 views
1 answer 235 views
1 answer 225 views
225 views asked Jun 27, 2021 by avibootz
1 answer 225 views
1 answer 278 views
...