Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Octagon
SUBMITTED BY:
Guest
DATE:
March 11, 2013, 9:57 a.m.
FORMAT:
CSS
SIZE:
564 Bytes
Raw
Download
Tweet
HITS:
1326
Go to comments
Report
#
octagon
{
width
:
100
px
;
height
:
100
px
;
background
:
red
;
position
:
relative
;
}
#
octagon
:
before
{
content
:
""
;
position
:
absolute
;
top
:
0
;
left
:
0
;
border-bottom
:
29
px
solid
red
;
border-left
:
29
px
solid
#eee
;
border-right
:
29
px
solid
#eee
;
width
:
42
px
;
height
:
0
;
}
#
octagon
:
after
{
content
:
""
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
29
px
solid
red
;
border-left
:
29
px
solid
#eee
;
border-right
:
29
px
solid
#eee
;
width
:
42
px
;
height
:
0
;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus