Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-14-2013, 02:33 AM   PM User | #1
patov2
New to the CF scene

 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
patov2 is an unknown quantity at this point
CSS Arrow Border - How to repeat it?

Hey, I have made a up arrow using css.

Code:
.arrowUp {
width: 0; 
height:0; 
border-left: 22px solid transparent; 
border-right: 22px solid transparent; 
border-bottom: 26px solid #0d151a; 
}
This is found above a content box. I want this arrow to repeat horizontally like the below example.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <---- Example.

How would I do this. Thanks in advance!
patov2 is offline   Reply With Quote
Old 01-14-2013, 03:11 AM   PM User | #2
linek98
New Coder

 
Join Date: Dec 2012
Location: England
Posts: 18
Thanks: 0
Thanked 4 Times in 4 Posts
linek98 is an unknown quantity at this point
This is a border, you cannot repeat it. It applies once to each element. If you want it repeated then just use multiple elements of that class.

If you want repeatable background then just use background-image and background-repeat or just general background in CSS. http://www.w3schools.com/css/css_background.asp
linek98 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:14 AM.


Advertisement
Log in to turn off these ads.