HTML CSS examples for CSS:Quiz
Move the <div> element 100px to the right, and 200px down.
<!DOCTYPE html> <html> <head> <style> div {<!--from w w w .j a v a 2s . c om--> width: 100px; height: 100px; background-color: pink; border: 1px solid black; transform: translate(100px,200px); } </style> </head> <body> <div></div> </body> </html>