Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>My Example</title> <style> .translated { transform: translateX(-60px); } div { background: orange; } div:after { content: "\2190 x-axis \2192"; float: right; } </style> <div> <img src="/pix/bg/tiles/checkerboard_100x100_2.gif" alt="Sample image"> </div> <div> <img class="translated" src="/pix/bg/tiles/checkerboard_100x100_2.gif" alt="Sample image"> </div>
Preview