Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .center { padding: 10% 0; border: 3px dashed #1c87c9; } </style> </head> <body> <div class="center"> <p>I am vertically centered.</p> </div> </body> </html>