The CSS Shapes Module — Breaking Out of the Box

One of the limitations of developing websites is that everything is fundamentally a rectangular box. We fight against it. We create non-rectangular images, we round corners, we have a variety of creative techniques to display less box-like shapes, but still behind the scenes each of these things sits in a rectangular box and other elements react to that box seen or unseen.

Continue reading

Thoughts For Better Variable Organization In SASS

For most of the last year if I’ve written css, it’s been in a preprocessed SASS file, specifically a .scss file. Good for me, but I haven’t been taking advantage of most of what SASS has to offer. My .scss files are often little more than nested css. I’ve used variables here and there and included the occasional mixin, but my SASS use has been simplistic at best.

Continue reading

Thoughts On Modular Design: Click Events And Depth Of Applicability

Last week when talking about css click events I asked whether or not we should use them. I suggested the answer lies in how they hold up to Javascript click events when it comes to maintainability and that the question was worthy of a deeper look. Since then, I’ve been thinking about how one might look deeper.
Continue reading

How To Generate CSS Click Events And Thoughts About Whether You Should

When you want a click to change something on your page, you usually reach for Javascript. Adhering to principles of modularity and separating structure, presentation, and behavior we’re supposed to use Javascript for behavior layer. However, methods exist for generating click events using only html and css. What are they and should we use them?
Continue reading

Can I Still Use Px?

Moving from static to flexible layouts involves a move from absolute to relative measurements. That generally means giving up px in favor of ems for vertical measurements and % for horizontal measurements. A question that continues to get asked is whether or not it’s ok to still use px here or there.
Continue reading