Sass is a CSS preprocessor which enables advanced features not available in normal CSS.

learn more… | top users | synonyms (1)

-1
votes
0answers
26 views

Is my SASS Syntax right/good enough?

I'm currently learning SASS, and I'm still figuring out is my syntax is right/efficient? I have a pieces of CSS code: ...
0
votes
1answer
31 views

Reduce repetition in SCSS for panels of various colors

I have the following SCSS and I'm curious as to how I can improve it, and reduce the amount of repetition... I plan on adding more colors, but I don't wish to keep copy/pasting the same block over ...
4
votes
0answers
82 views

Google material ripple button effect

I have "translated" this example built with jQuery in vanilla JavaScript, but I'd like to know if there are better ways to do it. The jQuery version uses offset() ...
1
vote
0answers
12 views

While loops in SCSS to produce circles for an animation

I've finally written my first loop in SCSS, trying to avoid it for quite some time since I thought it was unnecessary (was writing vanilla CSS not so long ago, so I was used to manual work). However, ...
1
vote
1answer
43 views

DRYing out my Sass, looping through selectors

Need help with DRYing out my Sass... there is just so much repetition in here: ...
3
votes
1answer
33 views

More elegant Sass @mixin to create pseudo-element shapes

I picked up Sass last week, and I'm already diving into expressions. I have a @mixin that creates a CSS border triangle using the following call: ...
3
votes
1answer
69 views

Susy basic fixed grid

I'm new to Susy and I'm loving it. I've been learning and trying a simple example - a simple grid that contains two columns at a fixed resolution of 320 pixels. One test would be to have two side by ...
2
votes
1answer
51 views

First website written with SASS/SCSS

I figured this morning that I wanted to learn how to use SASS, so I decided to rewrite an existing project's CSS using SASS. The project itself isn't complete so this is just a rough draft of the ...
1
vote
0answers
133 views

Gulp file for a simple SVG/Sass project

Here's a simple gulpfile.js I'm using on a very simple project which basically consists of an animation built with Sass, SVG and very little JS. ...
5
votes
1answer
151 views

Sass code for displaying two simple search forms

Sass code for creating a basic search box. Resulting CSS used for two that are different widths. The goals is to define sass that generates CSS that is easily re-usable as well as concise and ...
2
votes
0answers
94 views

Modification of the headline line-height in the Compass vertical rhythm module

One thing nagged me about the compass vertical rhythm module; in the case the headline is too long and it occupies more than one line the line-height between the two lines looks way too massive and ...
1
vote
1answer
702 views

How can I organize polymer-element structure in order to embrace the Polymer way of developing custom elements?

My goal has been to learn Polymer so I started developing a complex combo-box element. I did my development on Plunker. Here is link to my plunk. I'm happy with ...
1
vote
1answer
89 views

Hover effects using HTML and SASS

I recently created one of my first hover effects using HTML and SASS. Since it is my first hover effect, I'm almost positive that is it horribly inefficient. I'm sure there's a way to do this effect ...
2
votes
1answer
60 views

Checking screen sizes for responsive site

I wrote this piece of code to make any breakpoint to the users choice: ...
4
votes
0answers
136 views

Photo gallery layout

I'm working on a photo website, the markup looks like this: ...
6
votes
1answer
291 views

Grid column size calculation

I have a one function to calculate all the possible widths plus the margins for the gutters. In this same function, the grid ...
5
votes
0answers
85 views

SASS grid system improvements

I've got this own made grid system made in SASS: ...
2
votes
0answers
83 views

Blade (similar to jade) template with SCSS

I have this blade template with main.scss file: ...
6
votes
1answer
75 views

Member list reveals member information on click (#2)

Not a follow-up, but related to Member list reveals member information on click (#1). I now want my CSS reviewed. What I'm doing? The content in a list of members is revealed by jQuery (see review ...
8
votes
1answer
159 views

Improve mixin that outputs page-specific CSS

As part of this answer, I created a mixin to generate some page-specific CSS for me. I need to style an element based on a class I assign to the html-element. I do ...
8
votes
2answers
178 views

Improve page-specific CSS for different color schemes

For a website with four pages (blog, portfolio, profil and impressum) I have four different color schemes (for links, headings, code, etc.). This results in bloated CSS which I want to reduce. Here ...
1
vote
1answer
70 views

Quickly fixing unmaintainable SCSS code in Rails

I've been working on a website and Rails and am fairly proud of my HTML semantics. However, my CSS code has become enormous in size, which is largely unnecessary for such a small website. How could I ...
3
votes
1answer
116 views

SASS Code Structure / Readability

I'm trying out a new approach to SASS stylesheets, which I'm hoping will make them more organizined, maintainable, and readable. I often feel like there is a thin line between code that is well ...
4
votes
3answers
567 views

Mixin, @extend or (silent) class?

I am struggling with the basic concepts of SASS. I have a page that has multiple section, all of them are sharing properties like width, ...
3
votes
0answers
167 views

Skeleton SASS Feedback and Review

recently I have been developing a SASSified version of Dave Gamache's Skeleton CSS front-end framework. I have publicly posted the code on github which can be found here as well as a live demo. What ...
12
votes
1answer
197 views

Comments on SASS from CSS for a SASS beginner

I've leaped into SASS and am loving it. I'm asking for comments here on whether my SASS is well-formatted. Here's the original CSS based on Zurb's Foundation Pagination styles, but adapted for use ...
4
votes
1answer
64 views

Innefficient scss selectors being generated

Im using Foundation by Zurb as a front-end framework. Below is the SCSS used to generate the basic layout of the homepage using the Semantic Grid Mixins Foundation supplies ...
3
votes
1answer
85 views

SASS 960 Grid Review

I'm currently converting a css 960 fluid grid to SASS. How can I improve my current implementation? My column classes .two.columns are getting a bit unruly is there ...
4
votes
0answers
286 views

SASS based semantic fluid grid

I am looking for opinions on this code. I have been experimenting with Sass the last few days and have come up with the following bit of code. The idea was to enable the creation of a fluid grid ...
5
votes
2answers
588 views

Good practice using SCSS [closed]

I saw a sassy CSS for a rails app like this: ...
5
votes
1answer
457 views

Adding flair to PHP page with Sassy (SCSS)

This is what I've done so far: ...