Dynadot

CSS Borders

Spaceship Spaceship
Watch
Impact
0
This is just a small CSS code to display a red border around text on your site. It's very simple.

Code:
.borders {
  border-style: dashed;
  border-width: thin;
  white-space: pre;
  border-color: red;
}

I hope someone finds it useful.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
that's nice, ths looks fancy.
 
0
•••
I might look at this later...

PJ
 
0
•••
you can also have a different border on each side

Code:
border-right: /*blah blah*/
border-left: ";
border-top: ";
border-bottom: ";

but i didn't know you could do the whole border like that... thanks for sharing! :)
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back