Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> body{ background-color: #666; } .item { width: 100px; height: 40px; offset-position: 0% 0%; offset-path: path('m 100 50 h 150 v 150'); } #box1 { background-color: #8ebf42; offset-distance: -280%; } #box2 { background-color: #1c87c9; offset-distance: 190%; } </style> <body> <div class="item" id="box1"></div> <div class="item" id="box2"></div> </body> </html>