GithubHelp home page GithubHelp logo

starter-files's Introduction

#Starter Files

Utilizing Sass/SCSS

I utilize starter files to create the beginning of each project. I like to use Sass and create separate .scss files for each major module to match each defined section from the kickoff meeting. This leads to the CSS folder looking something similar to:

  • _general.scss
  • _global.scss
  • print.css
  • screen.css
  • screen.scss
  • pieces/_carousel.scss
  • pieces/_foooter.scss
  • pieces/_header.scss
  • pieces/_layouts.scss
  • pieces/_nav.scss
  • pieces/_searchscss

_general.scss

The General partial holds all the basic styles for all HTML elements to make sure no element goes unstyled and takes browser defaults, therefore not matching your design. All element selectors (no classes/IDs) go in this document to cover the base styling for everything from an H5 to a blockquote to a table.

_global.scss

The Global partial holds Sass Mixins, which is shared amongst all projects utilizing Sass, being updated periodically with new or more efficient mixins.

screen.scss

Screen.scss imports all other files and holds smaller updates to styles, such as .left and .right classes, or read more links; styles that are beyond general but aren't large enough to demand their own partial. That file should be compiled into a single screen.css link.

print.css

Print, is well, pretty self-explanatory.

pieces/_layouts.scss

The layouts partial holds the different column and grid structures that will be found in the site. The foundation should consist of all possible layouts (one column, two column, sub column on left, sub column on right, etc.).

pieces folder

The Pieces folder holds all other modules.

starter-files's People

Contributors

jenn avatar

Watchers

 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.