Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zerovox
· 13y ago · 0 comments
Does this mean if you create a 100px high triangle, it has 100px of invisible padding on top?
Comments
[–]
ajr44
13y ago
No. If you take the example animation, you can set border-left-color and border-right-color to transparent, and set border-top-width to 0. This will place the triangle in a bounding box of the correct width and height.