background preloader

CSS3 Minimalistic Navigation Menu – Tutorialzine

CSS3 Minimalistic Navigation Menu – Tutorialzine
Martin Angelov As you have probably heard by now, CSS3 animations are a powerful tool, which enables you to create animations which run without the need of applying additional scripting to the page. What is even better, in the next generation of browsers we will have even more powerful tools, including 3D transformations (already present in Safari). But what difference does it make for us today? So today we are making something practical – a simple CSS3 animated navigation menu, which degrades gracefully in older browsers and is future-proofed to work with the next generation of browsers. The XHTML The menu is organized as an unordered list. demo.html <ul id="navigationMenu"><li><a class="home" href="#"><span>Home</span></a></li><li><a class="about" href="#"><span>About</span></a></li><li><a class="services" href="#"><span>Services</span></a></li><li><a class="portfolio" href="#"><span>Portfolio</span></a></li><li><a class="contact" href="#"><span>Contact us</span></a></li></ul> The CSS

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.

CSS3 Create - Démos, tutoriels et expériences CSS : menus, galerie photos, interfaces web. 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.

Ombres avancées avec CSS3 et box-shadow CSS3 c’est pour l’aspect vendeur du nom, car au final on va aussi et surtout bénéficier du service de pseudo éléments (:after et :before) qui sont prévus depuis CSS2.1. Les visuels que vous voyez sur la page de démonstration ne sont composés qu’avec des propriétés CSS sur une seule et unique <div> (pour chaque bloc). Chez moi le meilleur rendu est sous Firefox, notamment pour la dernière ombre qui est un peu osée (au passage il semblerait que la propriété opacity ne fonctionne pas sur les pseudo-éléments). Dans cette démonstration nous allons utiliser des propriétés avancées de CSS2.1 (:before et :after) qui sont des pseudo-éléments. Pseudo-éléments :after et :before Imaginez que dans un site vous souhaitiez ajouter derrière un lien la langue du site en référence (qui, pour rappel, se précise grâce à l’attribut hreflang sur un élément <a>) vous pouvez le faire en passant par du CSS : La base de travail Pour résumer simplement notre démarche nous avons des divisions : Ombre simple Bogues

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.

Related: