Course Content
Advanced CSS Techniques
Advanced CSS Techniques
1. Getting Started with Advanced CSS
2. Mastering CSS Positioning
Understanding CSS PositioningRelative Positioning ExplainedChallenge: Apply Relative PositioningAbsolute Positioning in CSSChallenge: Implement Absolute PositioningFixed Positioning for Sticky UI ElementsChallenge: Work with Fixed PositioningSticky Positioning for Dynamic LayoutsChallenge: Master Sticky PositioningManaging the Stacking Order of ElementsChallenge: Control Z-Index and Overlapping ElementHandling Content Overflow in CSS
5. Transforming Elements with CSS
7. CSS Preprocessors and Sass
Skewing Elements for Unique Designs
skew()
allows us to deviate an element's sides to the coordinate axes on a specific angle. The angle must be specified in degrees (deg
). Also, we can determine the skew only for the x-axis or y-axis. The syntax is following:
skew()
accepts 2 values. TheX_angle
value specifies the skew angle for the x-axis. TheY_angle
value specifies the skew angle for the y-axis. If we don't set the second value (Y_angle
), the browser understands it asskewX()
;skewX(angle)
specifies the skew along the x-axis;skewY(angle)
specifies the skew along the y-axis.
Let's run the following example to see what we can get with the help of skewing:
index.html
index.css
Everything was clear?
Thanks for your feedback!
Section 5. Chapter 6