Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>My Example</title> <style> nav { width: 20%; margin-right: 1em; float: left; background: gold; } article { width: calc(80% - 1em); float: right; background: orange; } article, nav { color: white; padding: 30px; box-sizing: border-box; } </style> <nav> <h1>Nav</h1> </nav> <article> <h1>Article</h1> </article>
Preview