CSS Shadows

This used to re-change the html element strecture as rotate scale.

The CSS 2dtransforms values are


<!DOCTYPE html>
    div.one {
      width: 150px;
      height: 80px;
      background-color: red;
      -ms-transform: rotate(20deg); /* IE 9 */
      transform: rotate(20deg);
    div.two {
      width: 150px;
      height: 80px;
      background-color: red;
      -ms-transform: skewY(20deg); /* IE 9 */
      transform: skewY(20deg);
    div.three {
      width: 150px;
      height: 80px;
      background-color: red;
      -ms-transform: scaleY(1.5); /* IE 9 */
      transform: scaleY(1.5);
    <h1>The transform Property</h1>
    <h2>transform: rotate(20deg):</h2>
    <div class="one">Hello World!</div>
    <h2>transform: skewY(20deg):</h2>
    <div class="two">Hello World!</div>
    <h2>transform: scaleY(1.5):</h2>
    <div class="three">Hello World!</div>

Click on the "Run This Code" button to see how it works.


Welcome CSS Syntax CSS Selectors CSS ADD css CSS Borders CSS Backgrounds CSS Colors CSS Padding CSS Margin CSS Fonts CSS Text CSS Outline CSS Box-Model CSS Height&Width CSS Icons CSS Links CSS Lists CSS Display CSS Tables CSS Position CSS Overflow CSS Align CSS Float CSS Inline-block CSS Opacity CSS Image-Gallery CSS Navigation Bar CSS Dropdowns CSS Cursors CSS Forms CSS Pseudo-classes CSS Pseudo-elements


CSS Gradients CSS shadows CSS 2D Transforms CSS 3D Transforms CSS Animations CSS Media Queries CSS Flexbox CSS important CSS Units