This shows how to embed video from sites like YouTube and Vimeo
For a working example see the following on CodePen: http://codepen.io/profstein/pen/mArLRj
This shows how to embed video from sites like YouTube and Vimeo
For a working example see the following on CodePen: http://codepen.io/profstein/pen/mArLRj
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Candidates for 2016 Elections</title> | |
</head> | |
<body> | |
Candidates for the 2016 Elections | |
This page lists candidates for state and federal elections for the districts that serve the part of Manhattan where the Borough of Manhattan Community College is located. |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Window</title> | |
</head> | |
<body> | |
<h1>Assignment of window</h1> | |
<script src="p5.min.js"></script> | |
<script src="main.js"></script> |
combining simple shapes to create a more complex one
A Pen by Christopher Stein on CodePen.
combining simple shapes to create a more complex one. This time using variables to make the drawing more understandable and flexible.
A Pen by Christopher Stein on CodePen.
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$bg-color: #ddd; | |
.box { | |
color: $bg-color; | |
border:1px solid darken($bg-color, 25%); |
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin border-radius($radius) { | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; |
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.container { width: 100%; } | |
article[role="main"] { | |
float: left; | |
width: 600px / 960px * 100%; |
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
nav { | |
ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; |