background preloader

Css3

Facebook Twitter

Building a Custom HTML5 Audio Player with jQuery « Neutron Creations. We recently built an HTML5 audio player for Tim Van Damme's The Box, a new podcast where he interviews people who make cool stuff. Tim wanted an HTML5 audio player on the site, and we put together some jQuery to hook up the player interface he designed. In this article we'll run through the code to explain how it works, covering a few caveats along the way. Here's the player interface, and the markup for it. As you can see, we have a few span elements for each component of the interface: playtoggle is the play/pause toggle button. gutter is the timeline track loading is the bar indicating the loading or buffering progress handle is the circular element that serves as the playhead, indicating current position in the audio file, and also acting as a drag handle to move to a different point of the audio timeleft is the play time remaining, in minutes and seconds We won't cover the CSS for the player here, but if you want to see how it's styled you can inspect the styles on the live site. if(!!

The 1140px CSS Grid System/Framework · Fluid down to mobile. 520 Grid System. Less Framework 2. I called Less Framework "a CSS grid system for designing adaptive websites". It was basically a fixed-width grid that adapted to a couple of then popular screen widths by shedding some of its columns. It also had matching typographic presets to go with it, built with a modular scale based on the golden ratio. The resources it was originally published with are still available on GitHub. Contrary to how most CSS frameworks work, Less Framework simply provided a set of code comments and visual templates, instead of having predefined classes to control the layout with.

This is how I still work today and definitely a method I advocate. /* Default Layout: 992px. Less Framework was popular in the early days of responsive design. Eventually, I moved on from fixed-width grid systems and worked on a fully fluid-width one, in the form of Golden Grid System. Less Framework's popularity was helped by the following contributions and the lovely people behind them (dead links crossed off): Cloudhead's less.js at master - GitHub. Highly Maintainable, Efficient, and Optimized CSS.

CSS reset, CSS framework, Toucan CSS reset ~ Borderleft Labs. Data URIs make CSS sprites obsolete. I was sitting in a talk given by Facebook’s Jason Sobel at Velocity this year, when I was a bit surprised by an impassioned plea that he made at the tail end of the talk. To paraphrase, Jason said that CSS sprites require too much work for average web developers and that we should be pressuring the browser vendors to make this process easier. I was perplexed for a moment. First, I don’t think CSS sprites are all that complicated anymore, especially with tools like the online CSS Sprite Generator readily available. Second, CSS sprites only really have to be used for older browsers (looking at you, IE6 and IE7), as this problem is easily solved in other browsers by using data URIs.

The purpose of CSS sprites Before getting into how data URIs make CSS sprites obsolete, it helps to examine the problem that CSS sprites solved. Basic CSS sprite usage The pattern I use the most for CSS sprites is relatively straightforward and has the goal of ensuring CSS maintainability. Conclusion. Vendor-prefixed CSS Property Overview. Creating a Realistic Looking Button with CSS3 | Inference. CSS3 Generator. CSS3 Please! The Cross-Browser CSS3 Rule Generator. Making a Sleek Feed Widget With YQL, jQuery & CSS3 – Tutorialzine. Martin Angelov You will be surprised at how much data is made available on the web through RSS or ATOM feeds – twitter searches, your latest diggs, Google Search alerts, your own blog categories and so much more.

You just have to look for that orange icon and you’ll surely find a lot more precious data, just waiting to be put into use. Today we are making a sleek feed widget, that will fetch any feed and display it in your blog sidebar. You can set it up to show the latest posts from the different categories of your blog, your latest stumbles, or even people mentioning you on twitter. So go ahead, download the demo archive from the button above, and keep on reading.. Problem Solving Before stepping into development, we have to clarify for ourselves what we are aiming for, discuss some potential problems, and their solutions. Problem 1 – Fetching Feeds The widget is entirely front-end based, so we have to find a way to fetch the feeds directly with JavaScript. This is where YQL comes along.