Loading spinner animation using CSS and WebKit It’s hard to stifle a smile any time I get a glimpse of the future thanks to WebKit-based browsers like Safari and Chrome (and their mobile counterparts on iOS and Android devices). That happened today when I discovered a way to make an iPhone-style spinner without any images, just CSS. First attempt I have been working on a project that targets mobile WebKit browsers so it was natural to explore using -webkit-animation to handle the image rotation. This is how it looks in a browser: Image mask rotation demo The examples in this post all target WebKit browsers so I’d suggest you fire up Chrome or Safari for viewing the demos. It felt like a win to use a single-frame PNG image instead of an animated GIF but it didn’t look right. CSS-only, no images After several failed attempts to make the animation step-based, I still couldn’t get the effect right. Each of the twelve bars is rotated 30° from the one previous and given an animation delay equal to 1/12 of a second. Make it scale
Tips to Write Better CSS Code CSS is a language that is not difficult to master, but if you use it for a large project, it can be very difficult to manage if you do not follow a defined approach while writing CSS code. Here are few tips that will help you write better and easy to manage CSS code. 1. Don’t Use Global Reset Using global reset to remove default margin and padding from all HTML elements is a strict no-no. Not only it is slow and inefficient way but you’ll have to define margin and padding for each element that needs it. Better 2. Though CSS hacks might be useful to maintain consistent look of the website over older browsers like IE6, but they can be problematic for newer versions of IE as newer versions like IE8 do support CSS standards to a good level and using hacks might break out the layout. For information on conditional comments, refer to the quirksmode article on CSS Conditional Comments 3. 4. 5. You can combine multiple CSS selectors into one if they have common style definitions. Not Good 6. 7. 8.
When WiFi doesn't work: a guide to home networking alternatives If you live an old home or building, you already know the limits of WiFi. Despite the improved range of 802.11n coupled with improved throughput at greater distances‚ WiFi doesn't work magic. Buildings with brick or stucco-over-chicken-wire walls resist the charms of wireless networks, as do houses with thick wooden beams, cement elements, or with rooms spread out over many levels or floors. Don't get me wrong. I've been extolling the virtues of WiFi as a way to avoid tedious wiring and pointless tethering since 2001. Speed may also be an issue. Wired home networking alternatives can consistently perform from 25 to 95 percent of raw data rates of 85Mbps up to 1Gbps, depending on the technology and other factors, even with multiple simultaneous users. The contenders for home wiring There used to be four alternatives to WiFi, which have gradually faded and specialized as wireless issues were solved. Ethernet remains the gold standard. The firms that offer this service had a quandary.
Sencha Animator - Create CSS3 Animations with Ease The Sencha Web Application Lifecycle Management platform simplifies the challenges of managing the software development lifecycle of web applications. Now you can seamlessly design, develop, and test data-intensive web applications and deliver the right user experience, on the right screen, at the right time. Sencha Platform for Web Application Lifecycle Management The Sencha portfolio of products and services forms an integrated, modular platform for managing the lifecycle of your cross-platform web applications. Sencha products can be deployed separately or together to form an end-to-end solution. With the Sencha Platform you can prototype, develop, theme, debug, and test your web applications on any device running any browser. Design The Sencha platform helps you accelerate your web application development efforts with out-of-the box theming capabilities across all applications. Learn More: Ext JS | Architect | Themer Develop Learn More: Ext JS | Sencha Test | GXT Test An Open Platform
40 + Générateurs de CSS De temps en temps on vous parle de générateur de css. Pour alléger un site, optimiser son code ou créer quelques éléments graphiques, les générateurs ne manquent pas. Web3mantra liste donc 40 outils de développement css pour vous faciliter la tâche. La liste est assez grande et finalement quelques services se répètent. Vous aurez donc la possibilité de choisir celui avec lequel vous vous sentez le plus à l’aise et que vous trouvez le plus efficace, approprié à vos besoins. On y trouve surtout: des générateurs de « grilles », des services d’optimisation de css et des générateurs de blocs et d’éléments (tels que les bords arrondis ou les dégradés). On espère en tout cas que cette liste vous sera utile ! - Parcourir la liste
7 Places to Find the Code You Need A recent thread on SitePoint’s forums discussed how best to learn from other people’s code. For many people learning by example is the optimal way to pick up a new programming language, idea, or technique. But finding that ideal piece of code to look at and learn from isn’t always easy. The seven listed below are the top places we could find that will help you locate the piece of code you’ve been looking for. Popular open source code repository and version control web service GitHub launched a new Code Search feature today. Krugle claims to search over 2.5 billion lines of open source code, making them one of the largest source code search engines on the web. Koders, which claims to search over a billion lines of code, seems to be a favorite among Ruby programmers. Codase is the little guy on the block, weighing in at just 250 million lines of code searched, according to the site. Last, but certainly not least, is Google Code Search, the grand daddy of all code search engines.
50 Free CSS/(X)HTML Templates - Noupe Design Blog Oct 18 2010 Design templates help build an identity for any particular website. Since the techniques are changing very rapidly within the industry, one must be updated all the time. Many designers download the pre-built CSS templates to explore more. At many stages, designers seek help in the form of inspiration that would help them get back to their creativity track. Or they just want to learn a thing or two about the structure of web-sites and build their own projects on top of “bulletproof” templates. To keep you moving throughout your creative adventure, we have gathered some cool and absolutely Free CSS and XHTML Web Layouts. Free and Useful CSS/(X)HTML Templates HTML5 and CSS3 ( Demo | Download ) JeansWebsite ( Demo | Download ) Lawyer & Attorney ( Demo | Download ) Ornare ( Demo | Download ) iPhone App ( Download ) StudioClick ( Demo | Download ) Darkness ( Demo | Download ) MYportfolio ( Demo | Download ) 2 Breed ( Demo | Download ) WesternShop ( Demo | Download )
RGBA colors Home / CSS3 Previews / RGBA colors CSS3 has added a new feature to color setting. Next to rgb you can now also use rgba. The “a” in this property-name stands, for, you guessed it: alpha. So far, this has only been implemented in Safari 3, and works in the latest Firefox 3 pre-alpha’s. See the example: See the difference in the code between the first row, which uses RGBA color values, and the second, which uses RGB values: And the second one: Read here how RGBA differs from opacity.
The Complete Guide to Not Giving a Fuck Ok, I have a confession to make. I have spent almost my whole life– 31 years–  caring far too much about offending people, worrying if I’m cool enough for them, or asking myself if they are judging me. I can’t take it anymore. Today, ladies and gentlemen, is different. We’re going to talk about the cure. Do you wonder if someone is talking shit about you? Well, it’s time you started not giving a fuck. FACT NUMBER 1. Yes, it’s really happening right at this moment. What people truly respect is when you draw the line and say “you will go no further.” Right. Regular people are fine– you don’t actually hear it when they’re talking behind your back. Thankfully, that’s not actually true. FACT NUMBER 2. This stuff is crazy, I know, but it’s cool, you’ll get used to it. How liberating this is may not even hit you yet, but it will. You know when they say “the best revenge is a life well lived”? So not giving a fuck is actually a necessary precedent to create a good life for yourself. STEP 1.
715 Awesomely Simple and Free CSS Layouts Frustrated with the quality of free CSS templates online but aren’t quite to the level of building your own? Tired of spending hours trying to customize lame pre-fab designs? Today we bring you over seven hundred freely downloadable CSS templates that focus on providing you with only a basic layout to build upon. Who Are These For? Many of you have been in the design game for years but are only now just beginning to create websites and code them by hand. However, the biggest problem that many new developers come across can simply be to get their basic layout to work in CSS. The simple downloadable layouts below will provide you with a rock solid foundation on which to build your sites and provide great examples for learning how to create your own. Why Not Full Templates? If you run a quick Google search for free CSS templates, you’ll find a million. I think it’s much more useful to download a few super basic CSS layouts that are as simple as possible. Primary CSS: 22 Layouts “No CSS hacks.
A brief introduction to Opacity and RGBA The Opacity declaration sets how opaque an element is. An opacity value of 1 means the element is fully opaque; an opacity value of 0 means an element is not at all opaque, i.e. fully transparent. Webkit, Gecko and Opera browsers all support Opacity. The RGBA declaration allows you to set opacity (via the Alpha channel) as part of the color value. This is supported in Webkit and the first alpha of Firefox 3. The key difference between the two declarations is this: Opacity sets the opacity value for an element and all of its children; RGBA sets the opacity value only for a single declaration. Here’s an example. background-color: rgb(0,0,255); opacity: 0.5; The background color of the second div has been set to blue, and the opacity set to half. background-color: rgba(0,0,255,0.5); The background color has been set to blue, and the opacity set to half.