Daily archives 17 August 2019

 SASS

Do CSS Custom Properties Beat Sass Loops?

by 2019 -08- 17

I reckon that a lot of our uses of Sass maps can be replaced with CSS Custom properties – but hear me out for a sec. When designing components we often need...

Read more
 SASS

Where Do You Nest Your Sass Breakpoints?

by 2019 -08- 17

I love nesting my @media query breakpoints. It's perhaps the most important feature of Sass to me. Maybe I pick a method and do it like this: .element { display:...

Read more
 SASS

Sass Techniques from the Trenches

by 2019 -08- 17

Having been in the web development industry for more than 14 years, I’ve seen and written my fair share of good and bad CSS. When I began at Ramsey Solutions...

Read more
 SASS

Sass Selectors: To Nest Or Not To Nest?

by 2019 -08- 17

I threw a question out on Twitter regarding CSS/Sass authoring style. It was a difference between Option 1: .c-btn { ... } .c-btn__icon { ... } and Option 2: .c-btn { &__icon...

Read more
 SASS

Browser Compatibility for CSS Grid Layouts with Simple Sass Mixins

by 2019 -08- 17

According to an article from A List Apart about CSS Grid, a "new era in digital design is dawning right now." With Flexbox and Grid, we have the ability to...

Read more
 jQuery

Draggable Elements That Push Others Out Of Way

by 2019 -08- 17

Aside from a few esoteric tricks involving stuff like the resize handle on textareas, draggable elements is JavaScript territory on the web. E.g. click on element, hold down mouse button,...

Read more
 jQuery

Is jQuery still relevant?

by 2019 -08- 17

I've been cruising the reddit listings recently and without much searching I found a staggering amount of "jQuery is outdated", "jQuery isn't relevant", "I think jQuery is dying out", "…forget...

Read more
 jQuery

Yet Another JavaScript Framework

by 2019 -08- 17

On March 6, 2018, a new bug was added to the official Mozilla Firefox browser bug tracker. A developer had noticed an issue with Mozilla's nightly build. The report noted...

Read more
 jQuery

Namespaced Events in jQuery

by 2019 -08- 17

It's really easy to add an event listener in jQuery. It's equally easy to remove an event listener. You might want to remove a listener because you don't care to...

Read more
 jQuery

Live Weather Display Using CSS, jQuery and PHP

by 2019 -08- 17

The following is a guest post by Darren Jamieson, the technical director for Engage Web, an online marketing firm in the UK. We fiddled around with this back in 2008,...

Read more