GithubHelp home page GithubHelp logo

css-workshop's Introduction

CSS Workshop (Friday, November 7)

By Adam Kaplan and Stephanie Briones

In this three part workshop, you will learn how to write better CSS using best practices. We will be covering organization, writing reusable CSS, advanced techniques and more.

http://www.adamkaplan.me/css-workshop

##Schedule

####Part 1

  • Normalize - Browsers will render your CSS differently. To avoid this, it’s a good idea to use a modern alternative to a reset like Normalize.css, which will render elements more consistently cross-browser.
  • Organize - It's a good practice to organize your CSS code to reflect the flow of your website’s layout.
  • Alphabetize - Write your CSS properties in alphabetical order; it will help reduce the time it takes to find a specific property.

####Part 2

  • Reuseable CSS - DRY (Dont Repeat Yourself) up your code! Repeating yourself leads to huge CSS files and unnecessary code bloat. Take the time to plan out your elements in a simple and reusable way. Reuse your classes and tag on additional classes when needed.
  • Reducing Markup - Remove unnecessary parent elements by iterating/refactoring often.
  • Naming Classes - Write meaningful class names using BEM (Block, Element, Modifier) Methodology.

####Part 3

  • Sass/SCSS - Overview of syntax and documentation.
  • Setup - Project setup and imports.
  • Best Features - Variables, nesting and mixins.

Requirements

  • Laptop running Linux, Unix, or Mac OS X
  • Text Editor (TextMate, Sublime, VIM)

Resources

css-workshop's People

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.