Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> div { border: 2px dashed #666; background-color: #8ebf42; transform: translate(10px, 40px) rotate(50deg); width: 130px; height: 80px; } </style> </head> <body> <h2>Exemple de la propriété transform</h2> <div>Un élément</div> </body> </html>