We’ve decided to reward our faithful fans with an exclusive treat. Anyone that “likes” Design Shack on Facebook can download a free, in-depth CSS tutorial!
To follow up last week’s article on the difference between absolute and relative positioning, this week we’re taking a look at an extremely basic question with an incredibly broad reaching answer: How do I center something with CSS?
Read on to get a glimpse of the tutorial and see how you can claim your download today.April 9th, 2012 Posted in CSS
Responsive design has brought about a whole new list of challenges for web designers who have decided to take the plunge and leave static design behind. Creating a layout that works well at not one but several, or even all, possible widths requires patience, creativity and of course, lots of testing.
Nothing replaces checking out your design on the actual devices that you’re targeting, but as you’re building, it’s nice to be able to get a quick peek of the layout at various widths right on your computer. You could resize your browser window manually, but this gets ridiculously tedious if you’re shooting for precise pixel dimensions. Fortunately, several talented developers have already built some great tools to aid you in this process. Join us today as we take a look at three of them.April 5th, 2012 Posted in CSS
When I was first learning web development, the style side of CSS seemed straightforward and fun, but performing layout feats seemed like a confusing mess. I sort of felt my way around without a solid understanding of how things like positioning and floats worked and as a result it would take hours to perform even simple tasks. If this situation sounds familiar, then this article is for you.
One of the real revelations that I had early on was when I was finally able to wrap my head around how positioning contexts worked, especially when it came to the difference between absolute and relative positioning. Today we’re going to tackle this subject and make sure you know exactly how and when to apply a specific positioning context to a given element.April 4th, 2012 Posted in CSS
To make this banner truly useful, our goal will be to use individual photos dropped into our HTML, not simply one long CSS background that repeats. This is pretty tricky but we’ll walk you through exactly how it works. Let’s get started!April 3rd, 2012 Posted in CSS
Responsive web design requires a very different way of thinking about layout that is both challenging and exciting. The art of layout was already complex enough for the centuries that it was defined by fixed elements, now things are becoming exponentially more complicated as layouts become increasingly adaptive.
To help reprogram your brain to consider layouts in new ways, we’re going to take a look at some interesting responsive design patterns that are being implemented by talented designers all over the web.March 27th, 2012 Posted in CSS
On my laundry list of todo items that I’ll do “someday” is the idea of creating a prebuilt library of useful CSS animations. The bad news is that I’ll likely never actually get around to doing this. The good news is that developer Dan Eden beat me to it.
Today we’re going to check out Animate.css, an awesome and free collection of CSS animations that you can apply to your projects with almost no effort. It’s a blast to play around with so follow along and join the fun.March 26th, 2012 Posted in CSS
Preprocessors like Sass are helping us flex our development muscles in nearly every area of our CSS. Variables, mixins, inheritance and many more great features make coding easier and more concise than ever.
So what about leveraging Sass for responsive design, or more specifically, for media queries? Are there any features of Sass that pair particularly well with media queries? Is there anything you should avoid? Join me as I experiment and discover the answers.March 15th, 2012 Posted in CSS
Navigation menus used to be a fairly simple thing. Code up an unordered list, float it left and you’re good to go. With responsive design being all the rage these days though you’re faced with some new challenges when creating a menu design.
Follow along as we start from scratch and code a simple but effective responsive navigation menu that you can easily modify and reuse in your own projects.March 14th, 2012 Posted in CSS
Today we’re going to see if we can take a single image inserted via HTML and make it look like a messy stack of images using only CSS. The key: pseudo elements.
Along the way we’ll see how embarking on a project like this can quickly lead to some messy code and how we can combat that with some awesome DRY coding practices.March 12th, 2012 Posted in CSS
What’s the difference between a property and a selector? How is a declaration different than a declaration block and what’s a CSS rule? How do I tell the difference between a pseudo class and a pseudo element?
This series will serve as a basic introduction to some terms that every new web designer should be sure to add to his or her vocabulary. It won’t be an exhaustive vocabulary list but rather a primer on a few terms that I found difficult to wrap my head around when I was a beginner. We started with HTML earlier this week and today we’ll move on to some structural components of CSS.March 7th, 2012 Posted in CSS