build custom web-framework with SASS
Build custom web-framework (like 960) with Sass (Scss):
Build custom web-framework (like 960) with Sass (Scss):
Anti-spam Pro = no spam in comments and no captcha Anti-spam Pro plugin blocks spam in comments. Anti-spam Pro is powerful and extended version of free and popular Anti-spam plugin. no captcha, because spam is not users' problem no moderation queues, because spam is not administrators' problem Plugin is easy to use: just install it ... Read more
Sass/Less Comparison In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax. For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be ... Read more
There are three main components in the Settings API: The Setting, the Field and the Section. The Setting is the actual option that is stored inside the WordPress database. The Field is a form control rendered in our options page, such as a text input, or a dropdown select. The Section is just a way ... Read more
Screencast #130 (by Chris Coyier): First Few Minutes with Grunt Gruntfile.js sample with: concat, uglify, cssmin, imagemin: Grunt for People Who Think Things Like Grunt are Weird and Hard - by Chris Coyier (shorter version) Front-end developers are often told to do certain things: Work in as small chunks of CSS and JavaScript as makes ... Read more
SCSS (Sassy CSS) is Sass version 3. Sass gives variables, mixins, nesting and selector inheritance. "The new main syntax" for Sass builds on the existing syntax of CSS. It uses brackets and semi-colons just like CSS. It doesn't care about indentation levels or white-space. In fact, Sass's SCSS syntax is a superset of CSS -- ... Read more
I'm a big fan of analogy and metaphor when explaining difficult concepts, so let me try my hand with a story. Once upon a time: There was a princess... function princess(){ She lived in a wonderful world full of adventures. She met her Prince Charming, rode around her world on a unicorn, battled dragons, encountered ... Read more
Class and Method Naming Class name should be a noun (User, Post). Method name should be a verb (create, activate). Class names should always start with an uppercase letter. Variable Names Variables should contain only lowercase letters, and be reasonably named to indicate their purpose and contents. Very short, non-word variables should only be used ... Read more
Always use single quoted strings unless you need variables parsed, and in cases where you do need variables parsed, use braces to prevent greedy token parsing. You may also use double-quoted strings if the string contains single quotes, so you do not have to use escape characters.