GithubHelp home page GithubHelp logo

bhavishaganatra / sassyegghead Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pickra/sassyegghead

0.0 2.0 0.0 301 KB

Learn the Best and Most Useful SCSS

Home Page: https://egghead.io/courses/learn-the-best-and-most-useful-scss

HTML 8.58% CSS 91.42%

sassyegghead's Introduction

Learn the Best and Most Useful SCSS

Have you ever wished for iteration when writing styles? How cool would it be to use functions to write styles? SCSS has that and more! SCSS is a superset of CSS. Any valid CSS is SCSS, they even have the same syntax. SCSS borrows features from other languages to write smarter, reusable and more readable styles. THIS FREE course will focus on how to use SCSS’s more useful features, compare them against each other and assess when their usage is appropriate.

Lesson Titles:

Organize SCSS into Multiple Files with Partials: Tired of dealing with monolithic CSS files? In this lesson we learn how to separate our styles with SCSS partials, and the difference between SCSS and CSS imports.

Organize Styles with SCSS Nesting and the Parent Selector: In this lesson we learn how to remove the redundancy of targeting pseudo-elements/classes, and child elements by taking advantage of SCSS’s nesting and parent selectors.

Use SCSS Variables for Readable and Maintainable Stylesheets: Updating the same color or metric multiple times is no fun. SCSS variables improve maintainability by allowing 1 name to represent a value that can be used anywhere. SCSS variables also give us the power of creating our own naming conventions to express the intent of specific values. In this lesson we learn how to use SCSS variables to assign user friendly names to colors/metrics so 1 value change will update that value in all the right places.

Use Standard Built-in SCSS Functions for Common Operations: We can use javascript for color and opacity variations, math, list and map logic or to see if something exists. SCSS includes functions for a wide range of common use cases for logic in our styles. In this lesson we look at some of the more useful color functions to improve development velocity, readability, and simplify the code. Be sure to checkout all the SCSS functions.

Reusing Styles with the SCSS @mixin Directive: Copy/pasting the same code is redundant at best. Plus, updating copy/pasted code slows development velocity. In this lesson we learn how to write reusable styles with the SCSS @mixin directive and make copy/paste a thing of the past.

Reusing Styles with the SCSS @extend Directive: We can write reusable styles with the SCSS @extend or @mixin directives. Which one is better? In this lesson we learn about writing reusable styles with the @extend directive and how it compares to the @mixin directive.

Write similar classes with the SCSS @for Control Directive: Writing similar classes with minor variations, like utility classes, can be a pain to write and update. Sometimes just a single character is the only difference between classes and updating the defining parameter means we need to change it for every class name and value. In this lesson we learn how to leverage the power of the SCSS @for control directive to relieve the pain.

Loop Over Data with the SCSS @each Control Directive: The SCSS @for directive is great when we know how many iterations are required and we only need 1 variable. What if we need multiple variables to iterate over data sets? Hello SCSS maps and the @each control directive! In this lesson, we’ll check out iterating with lists and looping over data sets with maps and the @each directive.

Write Custom Functions with the SCSS @function Directive: SCSS provides a ton of great features, but sometimes we just want to roll our own function. We can do that too! In this lesson, we learn how and when to use SCSS function directives.

sassyegghead's People

Contributors

pickra avatar

Watchers

James Cloos avatar Bhavisha Ganatra 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.