background preloader

Mozilla Hacks – the Web developer blog

Mozilla Hacks – the Web developer blog
Related:  CSS

Google Plus Circle Animation With Jquery and CSS3 in Your Website — Tech Blog If you are a Google plus user, I am sure you will fall in love with Google plus circle animation. Google plus given an awesome user experience, specially circle’s animations. When I saw the rotation animation first time in Google plus, I was so excited to create my own rotation animation like Google plus. I have been working in these days to develop circle rotation animation effect with Jquery and CSS3. I have tried circle rotation animation effect with Jquery and CSS3. Click here to watch live demo T1 Click here to watch live demo T2 Circle CSS3 circle diameter 50px

Introducing Popcorn Maker Brett Gaylor launching Popcorn Maker at the Mozilla Festival this morning Today at the Mozilla Festival, we’re extremely proud to launch the 1.0 version of Popcorn Maker, a free web app that makes video pop with interactivity, context and the magic of the web. Popcorn Maker makes it easy to enhance, remix and share web video. Using Popcorn Maker’s simple drag and drop interface, you can add live content to any video — photos, maps, links, social media feeds and more. The result is a new way to tell stories on the web, with videos that are rich with context, full of links, and unique each time you watch them. The Popcorn Maker story “Until now, video on the web has been stuck inside a little black box,” says Mozilla’s Director of Popcorn, Brett Gaylor. Last year Mozilla launched Popcorn.js, a Javascript library for developers that resulted in ground-breaking productions like the NFB’s One Millionth Tower, PBS and NPR’s 2012 election coverage, and more. Get involved Try Popcorn Maker now.

Get to know your CSS3 :target pseudo-class The :target pseudo-class is one of those amazing CSS3 features. It matches an element that’s the target of a identifier in the document’s URI. This identifier in a URI contains a "#" character followed by an identifier name that matches the value of an id attribute of an element within the document. Support Because we're talking about CSS3, it's supported by all modern browsers excluding IE, from 6 to 8. How can you use :target? This pseudo-class can be styled, just like we use to style the :hover, :active or :focus pseudo-classes on links. Demonstration Further, I am going to make an example of when and how to use :target. View Demo The HTML markup Below you have a list of 4 links and also the same amount of blocks. <ul><li><a href="#id1">Block 1</a></li><li><a href="#id2">Block 2</a></li><li><a href="#id3">Block 3</a></li><li><a href="#id4">Block 4</a></li></ul><div id="id1"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. The CSS That's all! Further references

Documentation | Spritely Spritely is a simple plugin with only two key methods, sprite() and pan() both of which simply animate the background-image css property of an element. The difference between the two is that a 'sprite' image contains two or more 'frames' of animation, whereas a 'pan' image contains a continuous image which pans left or right and then repeats. Typically, in either case, you would use a png file (with or without transparency) for this. For documentation in languages other than English, please see Unoffical Documentation. Please note: there is a problem with the current version of Mobile Safari on the iPad On the iPad, using the pan() method may cause crashes in Mobile Safari. Quick start If you're impatient to try out Spritely and want to see some self-contained working examples, you can download some sample 0.4 code as a zip file. What's new in version 0.6? Click here to see what's new in version 0.6 Animating an image with the 'sprite()' method Here's a quick example to get you started...

Mozilla Mozilla's Mozjpeg Should Make Firefox Faster By Zach Walton · March 6, 2014 The JPEG has been around for more than 20 years now. When technology gets that old, you either take it out back or teach it some new tricks. Mozilla is opting for the latter even as it prepares for a … Mozilla Unveils New Line Of Firefox OS Devices By Zach Walton · February 24, 2014 Mozilla stumbled upon a hit last year with its Firefox OS devices. Mozilla To Sell Ad Space In Firefox By Zach Walton · February 12, 2014 · 1 Comment Last year, it looked like Mozilla was about to declare war on the ad industry while the ad industry thought the non-profit had already fired the first shot with its decision to block third-party cookies in its browser by default Mozilla Is Building A Firefox Launcher For Android By Zach Walton · February 6, 2014 Firefox OS is doing pretty well for itself in emerging markets thanks to its ability to run on low-end hardware that’s very affordable.

Twenty Advanced CSS Tutorials The following collection focuses on advanced CSS tutorials to help you sharpen your CSS skills. Once you’ve recreated these tutorials on your own, you can use and re-use the resulting files and keep them in your personal toolkit for future reference. We avoided tutorials that used combinations of CSS and jQuery to focus entirely on CSS development tricks. jQuery is a powerful tool, but if you want to learn pure CSS, then these advanced tutorials are a great place to start. Stylish Image Content Slider in Pure CSS3 Source Horizontal Accordion Slider with Vertical Text Source How to Create CSS3 Borders – CSS3 Handy Techniques Source The Definitive Guide to CSS Animations and Transitions Source Learn How To Create Drop Cap Letters In CSS Source CSS3 Hover Tabs without JavaScript Source Creating Intrinsic Ratios for Video (Resizeable Videos) Source CSS3 animated dropdown menu Source Create Pulse Effect With CSS3 Animation Source CSS Custom Fonts Tutorial Source How to Create a Pure CSS3 Slideshow Source Source

Build a Spiffy Quiz Engine | Tuts+ Premium | The best way to learn creative and technical skills. The first official Nettuts+ quiz was a massive success with an impressive number of developers participating and evaluating their knowledge. There were a non-trivial number of comments asking how the mini quiz engine was built. And lo and behold! That’s what we’re gonna learn today. A Word from the Author Quizzes are a great way to engage the community — just take a look at our recent quiz. I believe a demo is worth a thousand words. Today, we are going to look at how to implement this with, you guessed it right, our favorite JavaScript library, jQuery. Design Goals The design goal for this version are incredibly simple. We’ll something that looks slick and elegant — one that invites the user to take the quiz.This is no place for a long list of questions with radio buttons and labels. Some notable features that I’m opting out of: No post quiz reviews. That’s about it, I guess. Plan of Action We’ll now need to map out what needs to be done in a specific order. Core Markup

Mozilla Mozilla is a free software community best known for producing the Firefox web browser. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions.[1] The community is supported institutionally by the Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.[2] In addition to the Firefox browser, Mozilla also produces Thunderbird, Firefox Mobile, the Firefox OS mobile operating system, the bug tracking system Bugzilla and a number of other projects. History[edit] In a report released in November 2012, Mozilla reported that their total revenue for 2011 was $163 million, which was up 33% from $123 million in 2010. Values[edit] According to Mozilla's manifesto,[15] which outlines goals, principles, and a pledge, "The Mozilla project uses a community-based approach to create world-class open source software and to develop new types of collaborative activities". NSS[edit]

LightWindow Demo After researching every single modal window, lightbox, slimbox, etc out there nothing fit the bill. Granted some of them were very nice but only fit a specific purpose, others were a nightmare on the code end, and others were just hacks of another. None of them truly supported all of the features we needed and those that were close could not be easily adapted without a bottle of Prozac near by. Other caveats were the complete lack of ability to style and position the system, and the insane over-kill of some of the systems trying to reproduce either another desktop (As if most computer users aren't confused enough) or the reproduction of a popup window (Show me someone who likes popup windows...). Lastly, most people didn't actually test for their media types and how they behaved in other browsers and operating systems (Yes the movies and Flash work in Firefox for the Mac). Media Movies, Flash, PDF's... just link directly to the file! Quicktime Movie Example - 20MB Local File! or Media Movie

jQuery: The Write Less, Do More, JavaScript Library Mozilla (mozilla) Position fixe en CSS S'il est facile de positionner de manière fixe des éléments sur les navigateurs comme Opera, Safari, Firefox ou IE7 qui implémentent en grande partie les propriétés CSS issues des spécifications CSS 2, ce n'est pas le cas sur IE6. Il existe cependant des méthodes pour simuler cette position fixe sur ce dernier, et nous allons voir l'une d'entre elles dans ce tutoriel. Remarque : Cette méthode n'est fonctionnelle que si Javascript est activé sur le navigateur Internet Explorer 6 du visiteur. De plus, on estime qu'un DOCTYPE complet et valide est utilisé dans le document dans lequel le code à venir sera placé. Sans cela, le code ne sera pas fonctionnel. Dans les exemples suivants, on sous-entend que le code exclusif à IE6 est placé dans une feuille de style à part, incluse à l'aide de commentaires conditionnels. Elément utilisé tout au long du tutoriel Sélectionnez <div id="fixe"><p>Du texte</p></div> II-A. Voici le code : Position haut Et voici le code pour IE6 : Position haut IE6 II-B. II-C.

50 Brilliant CSS3/JavaScript Coding Techniques - Smashing Magazine Advertisement CSS3 is coming. Although the browser support of CSS 3 is still very limited, many designers across the globe experiment with new powerful features of the language, using graceful degradation for users with older browsers and using the new possibilites of CSS3 for users with modern browsers. In this post we present 50 useful and powerful CSS3/jQuery-techniques that can strongly improve user experience, improve designer’s workflow and replace dirty old workarounds that we used in Internet Explorer 6 & Co. Visual Effects and Layout Techniques With CSS3 CSS3 Analogue ClockAnalogue clock created using webkit transition and transform CSS. Use CSS3 to Create a Dynamic Stack of Index CardsWe will create a dynamic stack of index cards solely with HTML and CSS3 and use such CSS3 features as transform and transition (for the dynamic effects) and @font-face, box-shadow and border-radius (for the styling). Navigation Menus With CSS 3 CSS 3 Transitions and Animations CSS3 Galleries

Related: