What do floats really do anyway? How do they affect the box model of the elements involved? How do floated elements differ from inline elements? What are the specific rules governing the position of floated elements? How does the clear property work and what is it for?
Floats can trip up even experienced developers and understanding their behavior can really set you free from many of the woes that you face with CSS. Even if you think you already know all about floats, we’ll dive deep enough that you just might learn something new!April 18th, 2012 Posted in CSS
You’ve no doubt seen some buzz about a new book from Jon Duckett titled HTML & CSS: Design and Build Websites. Books on how to build websites are a dime a dozen. They fill entire sections of every book store around while many of us ignore most or all of them in favor of web-based learning.
So what makes this book so different? Why is it gaining so much attention? Does it live up to all of the hype? Read on to find out how Duckett is changing the way we think about web development books and why it’s hands down the best book I’ve ever
read experienced on introductory HTML & CSS.
Today we’re going to pit two CSS preprocessors head to head. You’ve no doubt seen lots of discussion about how SCSS compares to LESS, but where does Stylus, the new kid on the block, factor in? Can it possibly match the power and versatility of SASS?
We’ll jump head first into both syntaxes and compare them side by side to see which is more logical and versatile. We’ll also talk about features and give you a clear argument for why one preprocessor is more powerful. You can rest assured, we’re not going to wuss out and give you some crap about a tie, there will be a winner!April 16th, 2012 Posted in CSS
Yesterday Google rolled out a massive redesign of its social network, Google+. They didn’t merely shuffle around a few objects, they completely redefined the entire visual experience. Such a major refresh merits a special edition of our web design critique series.
Let others talk about boring old feature lists, join us as we jump in and take a look around to see what’s better and what’s worse from a designer’s perspective. We’ll pick apart every piece of the interface and see if there’s anything to be learned.April 12th, 2012 Posted in Critique
If you love design inspiration, you should be on Pinterest. This free service has really taken off and designers everywhere are using it to collect and archive examples of great design. Whether you’re a typography nut, need some ideas for design books to read, or want some inspiration for out of the box brochure ideas, there are designers on Pinterest who are no doubt pinning exactly what you’re looking for.
Much like, Twitter, the key to enjoying Pinterest is to find and follow users that share your interests. The trick here is that while every user has multiple “boards,” only some of them are actually design related. We’ve spent hours and hours hunting and have found over two hundred of the best Pinterest boards that designers should find useful. Read on to check them out!April 11th, 2012 Posted in Inspiration
I’ve been seeing a lot of tutorials lately that utilize :target in CSS to perform some fancy feat so I thought I’d take the time to really dig in and discuss how and why this syntax works. Instead of blindly following someone else’s code, you should be able to wield this tool with the knowledge of what’s happening how it affects browser support.
Read on to learn all about the basic functionality associated with the :target pseudo class and how you can stretch that ability to perform all kinds of crazy stuff with pure CSS. Along the way we’ll build some great navigation and slideshow examples for you to learn from.April 10th, 2012 Posted in CSS
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