Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <style> .scaled { transform-origin: top; transform: perspective(500px) scaleZ(7) rotateX(45deg); margin-left: 40px; } </style> <img src="/pix/samples/9s.jpg" alt="Sample image"> <img class="scaled" src="/pix/samples/9s.jpg" alt="Sample image"> <p>Some sample text to demonstrate how the resized image fits into the page after the scaling operation.</p>