| <style> |
| body { margin: 0; color: lightgreen; font-family: Ahem; font-size: 20px; } |
| |
| .square { |
| width: 30px; |
| height: 30px; |
| background-color: lightyellow; |
| margin: 20px; |
| float: left; |
| padding: 5px; |
| } |
| |
| .rounded { |
| -webkit-border-radius: 10px; |
| } |
| |
| .transform1 { |
| -webkit-transform: rotate(45deg); |
| } |
| |
| .transform2 { |
| -webkit-transform: scale(0.5, 1); |
| } |
| |
| .transform3 { |
| -webkit-transform: rotate(45deg) scale(0.5, 1); |
| } |
| |
| .transform4 { |
| -webkit-transform: skewX(45deg); |
| } |
| |
| .shadow1 { |
| -webkit-box-shadow: black 10px 10px 0; |
| } |
| |
| .shadow2 { |
| -webkit-box-shadow: black 10px 10px 10px; |
| } |
| |
| .text-shadow1 { |
| text-shadow: black 10px 10px 0; |
| } |
| |
| .text-shadow2 { |
| text-shadow: black 10px 10px 10px; |
| } |
| .text-shadow3 { |
| text-shadow: black 5px 5px 2px, pink 10px 10px 5px; |
| } |
| </style> |
| <div class="square shadow1"></div> |
| <div class="square shadow1 transform1"></div> |
| <div class="square shadow1 transform2"></div> |
| <div class="square shadow1 transform3"></div> |
| <div class="square shadow1 transform4"></div> |
| <div style="clear: both;"></div> |
| <div class="square rounded shadow1"></div> |
| <div class="square rounded shadow1 transform1"></div> |
| <div class="square rounded shadow1 transform2"></div> |
| <div class="square rounded shadow1 transform3"></div> |
| <div class="square rounded shadow1 transform4"></div> |
| <div style="clear: both;"></div> |
| <div class="square shadow2"></div> |
| <div class="square shadow2 transform1"></div> |
| <div class="square shadow2 transform2"></div> |
| <div class="square shadow2 transform3"></div> |
| <div class="square shadow2 transform4"></div> |
| <div style="clear: both;"></div> |
| <div class="square rounded shadow2"></div> |
| <div class="square rounded shadow2 transform1"></div> |
| <div class="square rounded shadow2 transform2"></div> |
| <div class="square rounded shadow2 transform3"></div> |
| <div class="square rounded shadow2 transform4"></div> |
| <div style="clear: both;"></div> |
| <div class="square text-shadow1">X</div> |
| <div class="square text-shadow1 transform1">X</div> |
| <div class="square text-shadow1 transform2">X</div> |
| <div class="square text-shadow1 transform3">X</div> |
| <div class="square text-shadow1 transform4">X</div> |
| <div style="clear: both;"></div> |
| <div class="square text-shadow2">X</div> |
| <div class="square text-shadow2 transform1">X</div> |
| <div class="square text-shadow2 transform2">X</div> |
| <div class="square text-shadow2 transform3">X</div> |
| <div class="square text-shadow2 transform4">X</div> |
| <div style="clear: both;"></div> |
| <div class="square text-shadow3">X</div> |
| <div class="square text-shadow3 transform1">X</div> |
| <div class="square text-shadow3 transform2">X</div> |
| <div class="square text-shadow3 transform3">X</div> |
| <div class="square text-shadow3 transform4">X</div> |