Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css rotate 3d

transform: rotate3d(1, 1, 1, 45deg);
Comment

rotate in 3d css

body{
perspective:500px;/*every time we use transform in 3d we need persective
  perspective is distance between viewer and scene.i.e 500px */
}

img:hover{
transform:rotateZ(120deg); /*rotateZ is same as rotateX which is rotate 120deg Clockwise */
transform:rotateX(60deg);/* rotateX rotate x axis which is horizontal.so rotate 
horizontal axios */
transform:rotateX(90deg);/*rotate 90deg horizontal so we cannot see image as it has zero thickness */
transform:rotateY(60deg);/*rotate y axis which is vertical */
}
Comment

PREVIOUS NEXT
Code Example
Css :: align text in center css 
Css :: text in centre table css 
Css :: macbook change screenshot to jpg 
Css :: how to add text stroke in css 
Css :: stretch text to div width css 
Css :: css full grid span 
Css :: media queries css wit logical operators 
Css :: html text not wrapping 
Css :: timesheet template html css 
Css :: center a spinner css 
Css :: css border color 
Css :: orientation css max and min width media query 
Css :: espacio entre lineas css 
Css :: input rtl html 
Css :: table font size 
Css :: How To Disable Swipe To Go Back In Chrome or any browser 
Css :: background image syntax in css if it is in folder 
Css :: change element in iframe 
Css :: how to add background in css 
Css :: outside padding css 
Css :: background blend mode 
Css :: rotate image in css 
Css :: inner border css 
Css :: clamp css 
Css :: bootstrap breakpoints 
Css :: mask image css 
Css :: css focus border radius 
Css :: div inline grid 100% width 
Css :: css selector not empty input 
Css :: mix color using css 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =