CSS - Page 4

Learn the latest tips, techniques, and approaches for laying out your websites with CSS and stylesheets.

A Beginner’s Guide to Zurb Foundation 3: The Grid

CSS / 8 Nov 2012

A Beginner’s Guide to Zurb Foundation 3: The Grid

In the past, we’ve discussed Twitter Bootstrap quite a bit. Much more so than its most worthy competitor: Zurb’s Foundation. Now on its third iteration, Foundation is a robust and responsive front end framework used by hundreds of developers every day.

Over the course of several articles, we’re going to jump in and take a look at its various aspects from a complete beginner’s perspective. Today’s topic is my favorite part: the grid. Follow along to see how it works!

Battle of the LESS Mixin Libraries: LESS Elements vs. LESS Hat vs. Bootstrap

CSS / 8 Oct 2012

Battle of the LESS Mixin Libraries: LESS Elements vs. LESS Hat vs. Bootstrap

LESS is a friendly, easily-approachable CSS preprocessor. Though ultimately, Sass and Stylus are more powerful and robust, LESS has a certain charm that keeps it as a forerunner in the battle of the preprocessors.

If you’re a Sass fan, then you can take advantage of Compass, an incredible framework that makes coding with complex CSS3 properties a breeze. But what about LESS users? Where’s their Compass? Today we’ll look at three awesome mixin libraries that will help fill that void.

How to Use Adobe Edge Web Fonts on Your Site

CSS / 4 Oct 2012

How to Use Adobe Edge Web Fonts on Your Site

Adobe recently launched a free web font service to complement Typekit, their amazing premium service. Adobe Edge Web Fonts currently gives you around 500 free font families that you can use on your site today with little effort. How great is that?

The process for implementing these fonts isn’t quite as straightforward as some of the other services that you might be used to, so today we’re going to dive in and take a look at how it all works.

Build a Fun Photo Swap Animation With CSS Keyframes

CSS / 5 Sep 2012

Build a Fun Photo Swap Animation With CSS Keyframes

CSS keyframe animations open up a vast range of possibilities for what can be accomplished with CSS. Much more than simple, one-step transitions, keyframes can be used to achieve complex, multi-step animations that are quite impressive.

In today’s project, we’re going to start from scratch and build a stack of two photos that spread out and swap their stacking order when you hover over them. Along the way we’ll learn all about how to wield keyframes like a pro and juggle all of those head-spinning prefixes!

A Beginner’s Guide to Leaner CSS

CSS / 4 Sep 2012

A Beginner’s Guide to Leaner CSS

Don’t repeat yourself (DRY). It’s a simple concept with the ability to completely change the way you write code. If I look back to my early days with CSS though, I don’t think the concept meant much to me. Sure, all right, don’t repeat myself, thanks for the advice. How does that translate to applicable advice though?

Today we’re going to look at the very core concepts for how to rethink the CSS you’ve been writing by trimming the fat and reducing the redundancy. The result will be leaner CSS that’s easier to author and maintain.

Code a Mountain Lion Style Notification Window With CSS

CSS / 3 Sep 2012

Code a Mountain Lion Style Notification Window With CSS

This one is for my fellow Mac nerds. Apple’s newest desktop operating system, OS X Mountain Lion, has a built-in notification system similar to what we’ve had on iOS for years. Today we’re going to build one of the notification windows using CSS.

To pull this off, we’ll use some basic HTML and a little bit of fancy CSS3. To finish it off, we’ll add a touch of jQuery magic to allow the user to drag the window around. It’ll be tons of fun, so boot up your favorite coding app and follow along!

Master Responsive Web Design With Gridset

CSS / 13 Aug 2012

Master Responsive Web Design With Gridset

Let’s face it, responsive design is hard work. Web design was difficult enough when we were only considering desktop platforms, but the challenge of seemingly infinitely varying screen and viewport sizes has really added to the complexity of website layout.

Whether you’re completely new to responsive design or consider yourself an expert in the area, the tool that we’re going to look at today will blow you away. It’s called Gridset and it’s amazing.

5 Design Lessons That I Learned From Writing 85 Web Design Critiques

CSS / 9 Aug 2012

5 Design Lessons That I Learned From Writing 85 Web Design Critiques

Here at Design Shack we offer a simple but useful service called a web design critique. It’s basically a consulting service that you can take advantage of for a mad cheap price in exchange for letting us post it on the site as an educational tool.

I’ve personally written up a whopping eighty five of these things thus far (#85 will be posted later this week). That’s a whole lot of design advice! Read on to see what I’ve learned about web design in the process, both from the good examples and the bad.

A Beginner’s Guide to Using Google Web Fonts

Google Fonts / 1 Aug 2012

A Beginner’s Guide to Using Google Web Fonts

When Google Web Fonts was first released, we wrote up a quick walkthrough. Since then, the service has been completely overhauled and it’s high time for a thorough walkthrough from scratch.

Join us as we start at the very beginning and discuss what the Google Web Fonts service is and how to get it up and running on your site today.

Give us a few minutes of your time and we’ll open you up to the awesome world of awesome free web fonts.

Pull Off Awesome Scroll Effects With Stroll.js

CSS / 26 Jun 2012

Pull Off Awesome Scroll Effects With Stroll.js

Scrolling effects are all the rage these days. As the user moves down the page, content does more than move up the screen, it comes alive and becomes more interesting. Unfortunately, there’s no easy way to pull these effects off with pure CSS. If you don’t know JavaScript, you’re out of luck.

That’s where Stroll.js comes in. It’s a super easy to implement library that makes applying mind-boggling scroll effects a breeze. All you have to do is paste in a couple of brief lines of JavaScript, the rest is all handled with HTML and CSS. Keep reading and I’ll show you how it works.

Build an Awesome CSS Slider With Four Overlays

CSS / 25 Jun 2012

Build an Awesome CSS Slider With Four Overlays

Today’s project is a fun one. We’re going to build a standard CSS image slider with a twist: the visible image area will be divided into four distinct sections, each with a hidden message that is revealed when the user hovers over it.

The ultimate effect is pretty awesome and I think you’re going to like it a lot. Along the way we’ll play with some animations, transitions, positioning contexts and a lot more. Let’s dive in and get started!

Meet CodePen: Dribbble for Coders

CSS / 20 Jun 2012

Meet CodePen: Dribbble for Coders

If you follow Chris Coyier on Twitter, then you have no doubt seen quite a few mentions go by in recent months of a not so secret project called CodePen. Chris promised us that this new tool would join the ranks of jsFiddle and Tinkerbin, serving as a sort of online playground to experiment with and share CSS, HTML and JavaScript demos.

Like a kid in December anxiously awaiting Christmas day, I’ve been dying to see what Chris and his team would come up with. Fortunately, Christmas has arrived. CodePen is a live project and I can’t wait to tell you all about it.