Here are some pretty layouts for the To Do List. These are optional, you can use your own styles if you wish.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700|Fjalla+One); | |
html{ | |
font-size: 16px; | |
font-family: 'Lato', sans-serif; | |
color: #FFF; | |
} | |
body{ | |
background-image: url('/images/bg.jpg'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var connect = require('gulp-connect'); | |
gulp.task('connect', function(){ | |
connect.server({ | |
root: 'public', | |
livereload: true | |
}); | |
}); |
-
Run gulp. This project uses the Gulp + Livereload + Sass Project boilerplate, however all of this should already be set up for you.
-
Check that Livereload is running.
-
Check that sass is compiling. (set a variable, use the variable, then check if gulp compiles to a proper css file)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>block family</title> | |
<link rel="stylesheet" href="css/styles.css"> | |
</head> | |
<body> | |
<h1>block family</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Resets, Clearfix, etc | |
// import reset and clearfix | |
// Variables | |
$dark: #222; | |
$light: #EEE; | |
$highlight: orange; | |
$padding: 20px; | |
Write html for the largest, most complex layout; style for the smallest, simplest layout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Imports ///////////////////////////////// | |
@import "partials/reset"; | |
@import "partials/clearfix"; | |
// Really ugly styles ///////////////////////////////// | |
body{ | |
background-color: red; | |
font-size: 40px; |