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.

enter image description here

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

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -