Facebook Twitter

GE Energy Redesign on Web Design Served. ROSS CLODFELTER. A Collection of Varied Visuals. Web Design Standards. One of the neatest things about CSS Transforms is that they change the hit area of an element to whatever transformed value we set.

Web Design Standards

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).

Minnesota Ice Fishing. MU. Racket – Web Design, Print Design, Art & Photography. Studiowill. WWW.GRAPHICFURY.COM. T2.