• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
 
Filters
15 results tagged sass

Compiling CSS with Eleventy

QRCode

A list of different options for compiling CSS with Eleventy

David Darnes came at me with a classic RTFM. Turns out Eleventy has a page on the docs for doing exactly this. This method uses Sass and requires a little bit of config. One thing to note is by default this will output all .scss file to the built site, so I added a check to see if the file is named app and if it's not, then skip it. Alternatively you can put your files in an _includes directory and these won't be output (thanks Dave). style: 'compressed' will minimise the CSS.

Stephanie Eckles has an Eleventy plugin for using LightningCSS which handles all the configuration and as a bonus ignores any files that start with _ so they won't get copied to the build folder.

https://rknight.me/compiling-css-with-eleventy/
September 13, 2023 at 11:35:14 AM EDT *
css eleventy sass
FILLER

Sass: Sass and Native Nesting

QRCode
.foo, #bar {
  .baz { /* ... */ }
}

produces the selector .foo .baz, #bar .baz in Sass but :is(.foo, #bar)) .baz in native CSS. This changes the specificity: :is() always has the specificity of its most specific selector,

Sass nesting and native CSS nesting both support syntax that looks like &foo, but it means different things.

https://sass-lang.com/blog/sass-and-native-nesting/
August 31, 2023 at 10:22:03 AM EDT *
sass css
FILLER

Minimum Static Site Setup with Sass | Stephanie Eckles

QRCode

If you don't need any templating languages and just need to get a simple site built plus Sass, use this as the contents of a fresh package.json:

npm start - copies src files to public and starts Browsersync server at localhost:3000
npm run build - copies files to public and autoprefixes/minifies css

https://thinkdobecreate.com/articles/minimum-static-site-sass-setup/
February 24, 2022 at 1:44:31 PM EST *
sass npm eleventy
FILLER

Fluid Typography - Codepen

QRCode
http://codepen.io/collection/nLbRMZ/
May 23, 2017 at 9:57:57 AM EDT *
typography css sass webdesign
FILLER

How to Create a Simple CSS Dropdown Menu | Treehouse Blog

QRCode
http://blog.teamtreehouse.com/create-simple-css-dropdown-menu
July 26, 2015 at 3:43:50 PM EDT *
webdesign css sass
FILLER

Sass | CSS-Tricks

QRCode
http://css-tricks.com/snippets/sass/
February 4, 2015 at 1:56:33 PM EST *
css sass
FILLER

Aligning type to baseline the right way using SASS — Written In Code — Medium

QRCode
https://medium.com/@razvanonofrei/aligning-type-to-baseline-the-right-way-using-sass-e258fce47a9b
November 17, 2014 at 9:01:07 AM EST *
webdesign sass
FILLER

Jake Giltsoff

QRCode
http://jakegiltsoff.co.uk/posts/sassline-v2-0
June 6, 2014 at 10:47:12 AM EDT *
sass typography
FILLER

Debug your SASS like a pro | KidsIL

QRCode
http://www.kidsil.net/2014/05/debug-sass-like-pro/
June 6, 2014 at 10:07:10 AM EDT *
sass
FILLER

Precision Baselines with Sass for eBook Designs | Fresh InkFresh Ink

QRCode
http://blog.inkling.com/2014/05/precision-baselines-sass-ebook-design/
June 6, 2014 at 10:02:48 AM EDT *
typography sass
FILLER

Sass Frameworks: Compass or Bourbon?

QRCode
http://www.sitepoint.com/compass-or-bourbon-sass-frameworks/
June 6, 2014 at 9:36:02 AM EDT *
sass
FILLER

Understanding placeholder selectors

QRCode
http://thesassway.com/intermediate/understanding-placeholder-selectors
May 30, 2014 at 9:15:36 AM EDT *
sass css
FILLER

A Sass Mixin for CSS Triangles

QRCode
http://www.sitepoint.com/sass-mixin-css-triangles/
May 30, 2014 at 9:15:20 AM EDT *
sass
FILLER

Revolt! Puppy - Design & Rebellion

QRCode
http://revoltpuppy.com/articles/39/better-lightening-and-darkening-with-sass
May 10, 2014 at 11:13:36 AM EDT *
sass webdesign color
FILLER

Goodbye Compass

QRCode
http://bensmithett.com/goodbye-compass/
April 16, 2014 at 2:32:58 PM EDT *
compass sass
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community