Skip to content

Instantly share code, notes, and snippets.

@cesine
Created October 24, 2016 14:13
Show Gist options
  • Save cesine/8e1567917b4acc39c91d392cc05c7bbf to your computer and use it in GitHub Desktop.
Save cesine/8e1567917b4acc39c91d392cc05c7bbf to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=8e1567917b4acc39c91d392cc05c7bbf
<!DOCTYPE html>
<html>
<head>
<title>Styling divs</title>
</head>
<body>
<h2>Creating sections with divs</h2>
<p>Make this a black page, with white text.</p>
<p>The text of the page is "Impact, Charcoal, sans-serif" font-family</p>
<hr>
<h2>Two Worlds</h2>
<div>
Create two divs inside of this div which occupy 50% of the width and are 20 lines high.
The first div should be green. (Bonus if you use the same green as http://www.queensvoc.org/)
The second div should be blue.(Bonus if you use the same blue as http://www2.cuny.edu/)
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment