Elementor Skewed Card Effect on WordPress | Elementor Tips & Tricks | Dynamic Tech World
Facebook
Twitter
LinkedIn
CSS Code for Skewed Effect
:root{
--grad1: #78BBFF;
--grad2: #FFFFFF;
--grad3: #FF1B1B;
}
selector{
position: relative;
z-index: 999;
}
/*SKEWED EFFECT*/
selector::before, selector::after{
content: '';
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
-webkit-transform: skewX(2deg) skewY(4deg);
transform: skewX(2deg) skewY(4deg);
background: -webkit-linear-gradient(135deg, var(--grad1), var(--grad2), var(--grad3));
background: linear-gradient(315deg, var(--grad1), var(--grad2), var(--grad3));
z-index: -9;
}
CSS Code for Skewed Blur Effect
/*BLUR EFFECT*/
selector::after{
-webkit-filter: blur(50px);
filter: blur(50px);
}
CSS Code for Skewed Hover Effect
/*HOVER EFFECT*/
selector:hover::before, selector:hover::after{
background: -webkit-linear-gradient(315deg, var(--grad1), var(--grad2), var(--grad3));
background: linear-gradient(135deg, var(--grad1), var(--grad2), var(--grad3));
}