The skew() CSS function defines a transformation that skews an element on the 2D plane. Its result is a data type. By using skewX() and skewY() , I have made this effect. Fork me on GITHUB LIKE SUBSCRIBE SHARE ==>>> "Zahra's Innovation" https://www.youtube.com/channel/UCroBDynaFT6BNBSEHS5tw5Q