background preloader

Slider with Sliding Backgrounds

Slider with Sliding Backgrounds
Among the many super nice design features of the Yahoo! Weather app for iOS is the transition between city screens. The background image doesn't just move away as the screen moves from one screen to the next, the background image itself slides. It appears to be hiding some of the "old" screen and revealing more of the "new" screen those closer you have it to being in full view. Let's try and pull it off on the web. The HTML Like any slider, there are three main components: The container that holds everything into shapeA sliding container that is as wide as all the slides in a rowEach individual side container We won't bother too much with content inside the slide. <div class="slider" id="slider"><div class="holder"><div class="slide" id="slide-0"><span class="temp">74°</span></div><div class="slide" id="slide-1"><span class="temp">64°</span></div><div class="slide" id="slide-2"><span class="temp">82°</span></div></div></div> The container might be a <section>, slides might be <article>.

Dive Into HTML5 Build an Infinite Scrolling Photo Banner With HTML and CSS Today we’re going to embark on the challenge of creating an animated banner of photos that automatically scrolls horizontally through an infinite loop. The best part: we’re going to do it without a single line of JavaScript. 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! The Idea The concept here is simple. As you can see, we basically just have a strip of images that move their position from left to right. This effect is easy enough with JavaScript or Flash, but as an exercise let’s see if we can pull it off in pure CSS. Hurdles As promised, this is a pretty easy project, but only because I’ve done most of the problem solving for you. The Easy Way The easy way is to take the images that you want to display, import them into Photoshop, then combine them into one long image. The Hard Way Let’s Build It

How to Create an Awesome Scrolling Navigation using jQuery - thebeebs I was looking over the .net award nominees this week and stumbled across the flipboard.com website. I loved the scrolling navigation so much I just had to open up visual studio and try and recreate it myself. DemoView Demo The main thing flipboard do differently is to have the logo and logo background elements move at different animation speeds from each other and the main content. This effect is is similar to Parallex scrolling and gives the website more interest, depth and flair. I’ve documented the main steps to recreate my demo below: Step 1 First we need to make reference to the jQuery Library as we are going to use it alot. Step 2 Next we will want to add our HTML to the page this HTML will hold all of the layers and links that we will need to get the example running. The background triangle moves at a slightly different speed to the logo and so needs it’s own <div>. I have added the nav layer and placed 4 links into it so that the user can navigate between the different contentItems.

HTML5 Please - Use the new and shiny responsibly Tweet Heat - The hottest Tweets of the Month [January 2012] This is a guest post by Jan Rajtoral AKA Gonzo the Great, founder of gonzodesign, who provides design services across the full spectrum of Brand Identity, Graphic Design, Print and Advertising Design & Website Design. In this new series of posts we’re going to take a look at what has been published last month in the Blogosphere. We hand-picked the best stuff including resources, tutorials, scripts/snippets, WordPress related posts and a lot more. All these design-related links have been mentioned on Twitter in the last month, and collated in this single article. HTML, CSS, PhP, Coding & Resources HTML5 Please - Look up HTML5, CSS3, etc features, know if they are ready for use, and if so find out how you should use them – with polyfills, fallbacks or as they are. When can I use… Support tables for HTML5, CSS3, etc - Compatibility tables for support of HTML5, CSS3, SVG and more in desktop and mobile browsers. Tutorials Tools (web applications, bookmarklets, frameworks etc.) WordPress Related

HTML5 Presentation In March 1936, an unusual confluence of forces occurred in Santa Clara County. A long cold winter delayed the blossoming of the millions of cherry, apricot, peach, and prune plum trees covering hundreds of square miles of the Valley floor. Then, unlike many years, the rains that followed were light and too early to knock the blossoms from their branches. Instead, by the billions, they all burst open at once. Seemingly overnight, the ocean of green that was the Valley turned into a low, soft, dizzyingly perfumed cloud of pink and white. Uncounted bees and yellow jackets, newly born, raced out of their hives and holes, overwhelmed by this impossible banquet. Then came the wind. It roared off the Pacific Ocean, through the nearly uninhabited passes of the Santa Cruz Mountains and then, flattening out, poured down into the great alluvial plains of the Valley.

Understanding HTML5 Content Models Earlier this week we looked at the new text-level and structural semantic elements html5 provides. Today I want to continue and talk about content models in html5, specifically the new outline algorithm for creating hierarchy. Once again much of the content below comes to me via Jeremy Keith‘s book HTML5 for Web Designers, which I highly recommend. Unfortunately some of what we’ll look at below isn’t yet supported by browsers. Some of it will be, but not all. Content Models Before html5 we had two categories of elements, inline and block. Text-level semantics — what were previously inline tagsGrouping content — block level elements like paragraphs, lists, and divsForms — everything inside form tagsEmbedded content — images, video, audio, and canvasSectioning content — the new structural tags described in my previous post Currently to create a hierarchical outline of our content we use a set of h1–h6 tags. The above would produce the following outline based on the headings. Modular Content

Behind The Scenes Of Nike Better World - Smashing Magazine 20 Awesome HTML5 Website Templates Which Are Free A lot had been share about HTML5 on the Internet, as it’s one of the latest trending topics.. It is considered as the next big thing. HTML5 is another stepping stone to make the web experience more enjoyable and gratifying for its users. A lot of people out there are trying to learn as much about HTML5 as they possibly can, because it’s going to come loaded with a bunch of new features that webmasters can employ to make their website that much better. That’s another reason why so many people out there are looking for HTML5 templates that they can use on their blogs and websites. The web has changed quite a bit and it’s about to change majorly with the introduction of HTML5. Please make sure to follow the terms of use before utilizing any of these free HTML5 templates for your projects and create rich applications. Advertisement A free HTML5 and CSS3 theme More Information on A free HTML5 and CSS3 theme Free HTML5 Template for Design Company Website SocialStream HTML5 and CSS3 Template

Related: