background preloader

Founders Fund

SoftTechVC Letters of Note JLern Design | Where Designer & Programmer Play Nice Together Bessemer Venture Partners Brain Pickings Web Design Blog | Web Design Standards | Viget Inspire One of the neatest things about CSS Transforms is that they change the hit area of an element to whatever transformed value we set. So, if we rotate an element, the hit area for that element doesn’t stay a box in the defined X and Y plane; it changes to the transformed shape. CSS Transformed Hit Box With that in mind, when I was handed a design comp with a skewed design element and links with angled edges within it, I realized for great justice it was achievable by skewing an element and applying overflow: hidden to the container. The markup for this demo is really simple: <div class="container"> <div class="inner"> <ul> <li> <a href="#">Something Awesome</a> </li> <li> <a href="#">Something Awesome</a> </li> <li> <a href="#">Something Awesome</a> </li> </ul> </div></div> Based on that markup, we first transform the .container element and skew it 18 degrees on the X-axis, then undo that skew on the .inner container so our links display properly instead of at an angle (Using SASS).

Greece Investors Lists of Note Web design and illustration portfolio of Nela Dunato | Chatte Noire Union Square Ventures

Related: