css3 - fold/wrapping effect with CSS -
how do fold/wrapping effect this website?...is there technical term it?
i know can go view-source check on css, can't figure out part little folding part (i circled in orange). or if knew tech term, up.

if inspect page in chrome, you'll see uses following css selectors, apply banner itself:
#slider .slider .slide .box.top-right:before { border-right: 9px solid transparent; border-top: 6px solid #303030; bottom: -6px; right: 0; } #slider .slider .slide .box:before { content: ''; height: 0; position: absolute; width: 0; } so it's saying "before div banner, put pseudo-element blank content absolute positioning". , also, top selector more specific, saying position on bottom right, special border trick gives little triangle.
edit: people call trick "css triangles".
Comments
Post a Comment