background preloader

Web Code How To

Facebook Twitter

Font sizing with rem. Determining a unit of measurement to size our text can be a topic of heated debate, even in this day and age.

Font sizing with rem

Unfortunately, there are still various pros and cons that make the various techniques less desirable. It's just a matter of which less-desirable is most desirable. There are two main techniques that are extolled: Size with pxSize with em Let's review these two approaches before I reveal the magical third. Sizing with px In the early days of the web, we used pixels to size our text. I, personally, have been of the camp that px-based layouts provide the consistency I prefer and users have enough tools available to adjust their view that accessibility is less of a concern.


Jquery Tutorials/Helpers. CSS Code Snippets. CSS Trcks Downloads. CSS Layouts. How to Add Variables to Your CSS Files. Let's try something different on nettuts+ today.

How to Add Variables to Your CSS Files

Any designer who has worked with large CSS files will agree that its major weakness is its inability to use variables. In this article, we will learn how to implement variables by using PHP and Apache's URL rewrite mod. Preface This technique is somewhat simple. How to Build a Kick-Butt CSS3 Mega Drop-Down Menu. Often used on e-commerce or large scale websites, mega menus are becoming more and more popular, as they offer an effective solution to displaying a lot of content while keeping a clean layout.

How to Build a Kick-Butt CSS3 Mega Drop-Down Menu

In this tutorial, we'll learn how to build a cross-browser, awesome CSS-only drop-down mega menu, using nice CSS3 features. Step 1: Building the Navigation Bar. How to Use the Sticky Footer HTML & CSS Code. Be sure to read the Known Issues at the bottom of this page.

How to Use the Sticky Footer HTML & CSS Code

It will help prevent a lot of mistakes that can take hours to debug. Introduction. Sticky Footer in 960 Grid System on signalkraft. …and other CSS Frameworks “Sticky Foot­ers” are con­tain­ers that stick to the bot­tom of every page, no mat­ter how much white­space is between the footer and the pre­ced­ing con­tent.

Sticky Footer in 960 Grid System on signalkraft

A pop­u­lar method involves fixed height, neg­a­tive mar­gins & paddings as well as a num­ber of hacks to ensure cross-browser compatibility. Here’s how you adapt CSS Sticky Footer to the Grid CSS Framework: Quick Steps Add the footer CSS to your 960.css Search & Replace 150px in the CSS with the real height of your footer You need the ele­ments #wrapper and #content in your HTML above the footer (see exam­ple) 50 Really High Quality Photoshop Navigation Menu Tutorials. While waiting our SEO series to come out, I showcased for you pretty huge and comprehensive navigation, menu and button tutorial article.

50 Really High Quality Photoshop Navigation Menu Tutorials

All of those tutorials are selected carefully just featuring here, the most high quality ones. Navigation is very important aspect in every web-design, because it is usually the place where people will click the most as well as notice creative and usable buttons. How To Create a Stunning Vista Inspired Menu. This tutorial will show you how to make a semi-transparent Vista-inspired menu using gradients, shadows, and blurring to produce a stunning modern effect.

How To Create a Stunning Vista Inspired Menu

Step 1 Open a new canvas that is 600x335px. Begin by showing rulers (View>Rulers), then create two guides similar to the image below. Create one at 285px and the other at 310px. Step 2 Create a Rectangle (U) that fills the lower ruled area and label the layer "lower bar. " Now create another rectangle in the upper rules area and name the layer "upper bar. " Step 3 The next step is to add a highlight to the menu using the Line Tool (U). Step 4 Now that the menu bar is complete, we can create a set of dividers to go between the text.

Draw another vertical line from the center ruler going down and stopping the same distance from the edge as above. Photoshop as a PSD for free download navigation menu. Making an Interactive Picture with jQuery. In this tutorial I will be showing you how to piece together an interactive picture – aka an image that contains tooltips and popup boxes.

Making an Interactive Picture with jQuery

This can be useful for showing off a particular aspect of a photo (ie items or people). The original inspiration for this tutorial came from the IKEA website, which uses Flash to accomplish something similar, although admittedly with a few extra features. Tutorial Outline. CSS3 Rounded Image With jQuery. The other day I was trying to style CSS3 border-radius to image element and I realized that Firefox doesn't display border-radius on images.

CSS3 Rounded Image With jQuery

Then I figured a way to work around it — wrap a span tag around with the original image as a background-image. Thanks to Darcy Clarke for the jQuery code which does the magic tag wrapping automatically. View Demo Rounded Images Goal My goal to use the CSS3 border-radius and box-shadow feature to make the image element look like the screenshot below. Awesome Bubble Navigation with jQuery. Beautiful Background Image Navigation with jQuery.

Contextual Slideout Tips With jQuery & CSS3. Martin Angelov By now, you’ve probably heard about Adobe’s new CS5 software pack.

Contextual Slideout Tips With jQuery & CSS3

Also, you’ve probably seen their product pages, where they present the new features of the suite. Apart from the great design, they’ve also implemented an interesting solution for showcasing the new features their products are capable of – using contextual slideout tips. Knowing the importance of HTML standards, we are making a set of contextual slideout tips with jQuery & CSS3, which are ideal for product pages and online tours. As a bonus, they are SEO friendly, so all the content is visible to search engines. The idea The main idea is to create an easily configurable set of contextual slideouts. Nodstrum. AutoCompleter Tutorial As always, links to a demo and ZIP at the bottom, Enjoy! I thought i would write this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)!

And so we begin:JavaScript JS Explaniation. How to Make an Impressive Animated Landscape Header with jQuery. Content doesn’t always have to stay visible. Sometimes it can hide in the most unexpected locations. In this tutorial we’ll start with a cartoon themed header, build two different states for content and animate a transition between them using jQuery. Creating a fading header. Since I’ve gotten lots of emails asking me how I created the fading header graphic for Bits and Pixels I’m going to write a tutorial explaining how created the effect. I’ll be creating the effect using some basic XHTML and CSS and some unobtrusive Javascript, using the jQuery library, for the effect itself. I’ve chosen jQuery because I like the way it’s built, find the elements you wish and do something with them.

If you prefer another library, or just don’t want to use any library at all, that’s fine too (but you’ll need to write your own fade-function). The code shouldn’t differ too much, and since I’ll be explaining all the steps you shouldn’t have any problems translating it to the toolkit of your choice. The image This is the image that I’ll be using. The HTML and CSS The HTML is very straight forward. jQuery Approach by Scott Robbin. A jQuery plugin that allows you to animate CSS properties based on distance to an object by Scott Robbin Download Approach Now jQuery Approach works in a very similar manner to jQuery animate, however it animates over distance instead of time. The closer you get to the object, the more the style will be applied. For example, you could use approach on an element's opacity, increasing the opacity as you get closer.

Crafting an Animated Postcard With jQuery. Nicely illustrated banners are…nice. But why not add a little pizazz by using animation like Flash websites do? Through Javascript web pages are becoming increasingly less static and all sorts of creative possibilities are opening up. In this tutorial we will learn the basics of setting up a continuous animation which can be applied pretty much anywhere. Take a peek below to see an outline of what we’ll be learning today. What You’ll Learn. Glimmer - Lab - MIX Online. Download git clone Flip! A jQuery plugin v0.9.9. Dynamic Page / Replacing Content. How To Build an Animated Header in jQuery.

HTML5/CSS3 Cheatsheet. jQuery for Designers - Tutorials and screencasts. Text Rotation with CSS. Once again, after reading somebody else's article, I felt inspired to put together an alternative example. In this case: Text Rotation. Subtle CSS3 Typography that you’d Swear was Made in Photoshop. Letterpress Text Effect Using Photoshop and CSS. Inspire Magazine: November 2011 - Create an HTML5 website with Adobe Edge Preview 3. Inspire Magazine: November 2011 - Create an HTML5 website with Adobe Edge Preview 3. 30 Days to Learn HTML & CSS - Free Tuts+ Premium Course. Learn to code. The best way to learn creative and technical skills. Hi, my name is Jeffrey Way. So here’s the thing: you know you need to learn jQuery! When it’s far and away the most popular JavaScript library in the world, and is easily the most often requested technical skill by employers, it clearly makes perfect sense to dig in, and learn the library.

Vertical Sliding Accordion with jQuery. Create fluid width videos. Perfect Full Page Background Image. Topic: Jigoshop Shop page layout - skeleton. Simplethemes/skeleton_wp - GitHub. Mosaic - Sliding Boxes and Captions jQuery Plugin. Cycle Through Images on Hover with jQuery. Jquery Cheat Sheet.