Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sass-master

Master SCSS file structure for WP web-dev projects using BRIDGE/VC

Mixins

Responsive

Use @include breakpoint inline, directly within an HTML selector.

@include breakpoint(000px){
	// Rule here.
}

Resolution

Credit to @pierreburel.

You can set the resolution by using different notations and units : pixel-ratio (2, 2x or @2x), dppx (2dppx), dpi (192dpi), percentage (200%) or presets like retina (Apple) and xhdpi (Android).

Example Usage:

@include resolution(2dppx) {
    // Rule here
  }

  @include resolution(192dpi) {
    // Rule here
  }

  @include resolution(retina) {
  	// Rule here
  	}

Grunt.js

Grunt processes currently include:

  • Autoprefixing
  • CSS minification

Usage

Simply run grunt out of the theme directory via SSH.

Only recommend running this close to launch or when exporting final code from staging. Compile time is slow, so during development recommended usage is only for cross-browser checks or code testing.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages