Search
 
SCRIPT & CODE EXAMPLE
 

CSS

rotate box-shadow

.item {
    position: relative; /* or absolute */
}

.item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;

    box-shadow: -50px 80px 4px 10px #555;
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -o-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg);
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to change border height in css 
Css :: import global variables scss angular 
Css :: show icon on hover css 
Css :: remove position absolute attribute by adding css 
Css :: css shrink image 
Css :: how to change color of a tag in css 
Css :: change text color li css 
Css :: css absolute position inside div 
Css :: css floating div 
Css :: bootstrap modal overflow 
Css :: css font-variant 
Css :: taille texte css 
Css :: css cursor delete 
Css :: had to add a tint to a picture on css 
Css :: Hide second occarrence of a css class 
Css :: css position absolute transition 
Css :: scss media query 
Css :: preloader css 
Css :: scss flex 
Css :: text shadow css generator 
Css :: max character css 
Css :: grid-template-columns 
Css :: color gradient for text 
Css :: text decoration css transition 
Css :: background css 
Css :: media queries import file 
Css :: when change size image not change contrast css 
Css :: set css on parent element css 
Css :: text background in css 
Css :: css flex justify self 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =