background preloader

What's my IP Address? What's my browser?

What's my IP Address? What's my browser?

HTML5test - How well does your browser support HTML5? Differences Between CSS2.1 and CSS3+ Most of us know that with the introduction of what we customarily call “CSS3″1, there have been changes and additions to CSS, compared to what we had in CSS2.1. Putting all cross-browser issues aside, I thought it would be nice to be able to document all these changes into a single post and keep it up to date. So if you want a list of everything that’s been introduced into the CSS spec since CSS2.1, here it is. New Properties Following is a list of CSS properties that were not defined in the CSS2.1 specification. New Values Properties from CSS2.1 have new values added to them in CSS3. New Selectors Following is a list of selectors introduced in CSS3. Other Miscallaneous New Features Other new features not part of CSS2.1 include: @font-faceMedia QueriesKeyframe animations using @keyframesConditional styles using @supportsNamespacing using @namespaceRegionsFilters Features Still in Flux The lists above aren't exhaustive. Summary Notes 1.

L’approche DRY : don’t repeat yourself Certes les dernières spécification de CSS nous apportent les variables, dans le module « CSS Custom Properties for Cascading Variables Module Level 1 » et cela s’utilise ainsi : Mais en l’état actuel des choses, l’implémentation de ces dernières est très loin d’être répandue (hormis sur Firefox et Chrome, et encore, pas dans les versions stables actuelles à l’heure de l’écriture de cet article). Sauf à utiliser des polyfills, autant le dire de suite : c’est inutilisable tel quel en production. Histoire de noircir le tableau, les fonctions sont également absentes de CSS. À priori, avoir une approche DRY en CSS n’est pas gagné, et pourtant : on peut déjà commencer à réfléchir et concevoir en DRY en pur CSS ; il est possible d’utiliser des outils qui eux apportent les variables et les fonctions. DRY en CSS pur Une première approche Avoir une approche DRY en CSS pur peut se voir de plusieurs façons. Ensuite, pour éviter de se répéter, on va chercher en CSS des motifs qui se répètent. Variables

untitled Disclaimer: "PMI®", "PMBOK®", "PMP®", "PMI-RMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. The Swirl logoTM is a trade mark of AXELOS Limited. ITIL® is a registered trade mark of AXELOS Limited. PRINCE2® is a Registered Trade Mark of AXELOS Limited. Certified ScrumMaster® (CSM) and Certified Scrum Trainer® (CST) are registered trade marks of SCRUM ALLIANCE® The APMG-International Finance for Non-Financial Managers and Swirl Device logo is a trade mark of The APM Group Limited. The Open Group®, TOGAF® are trademarks of The Open Group IIBA®, the IIBA® logo, BABOK® and Business Analysis Body of Knowledge® are registered trademarks owned by International Institute of Business Analysis. CBAP® is a registered certification mark owned by International Institute of Business Analysis. COBIT® is a trademark of ISACA® registered in the United States and other countries. SAP® is the trademark or registered trademark of SAP AG.

Top 10 Advantages of HTML5 Development HTML5, being the latest version of hyper-text markup language has brought revolution in web design and development industry. By introducing many new and enticing features, it has introduced many new features, thus allowing users to make websites more user-friendly, engaging and interactive. And, that’s why webmasters are considering switching over to this new technology because it offers a myriad of advantages over the previous versions. 1. Doctype in the new version is simple and plain and it saves you from the hectic copy and paste thing. 2. This new platform has improved the accessibility of web pages and websites. 3. It helps in keeping the code clean. 4. Today Mobile internet users are increasing surprisingly and have surpassed the desktop/laptop numbers. 5. In a multi-browser space, websites are required to be cross browser compatible. 6. 7. HTML5 has a Geo-location API that allows user to easily detect the location of a user and cater the tailored content to its users. 8. 9.

CSS Font-Size: em vs. px vs. pt vs. percent / Kyle Schaeffer One of the most confusing aspects of CSS styling is the application of the font-size attribute for text scaling. In CSS, you’re given four different units by which you can measure the size of text as it’s displayed in the web browser. Which of these four units is best suited for the web? Meet the Units “Ems” (em): The “em” is a scalable unit that is used in web document media. So, What’s the Difference? It’s easy to understand the difference between font-size units when you see them in action. As you can see, both the em and percent units get larger as the base font-size increases, but pixels and points do not. Em vs. We’ve decided that point and pixel units are not necessarily best suited for web documents, which leaves us with the em and percent units. When the client’s browser text size is set to “medium,” there is no difference between ems and percent. The Verdict The winner: percent (%). Addendum (January 2011)

Flexbox, guide complet Le module Flexbox Layout fournit une façon plus efficace de disposer, aligner et distribuer l'espace entre les éléments de votre page. 4 riches articles de Chris Coyier sont réunis ici. Par Chris Coyier NdT : Ce tutoriel est la réunion de quatre articles de Chris Coyier formant une introduction à Flexbox. Le module CSS3 Flexbox Layout fournit une façon efficace de disposer, aligner et distribuer l'espace entre les items d'un container, même lorsque leurs dimensions sont inconnues et/ou dynamiques - d'où le terme "flex". L'idée principale est de donner à un élément contenant (container) la possibilité de changer les largeur et hauteur des éléments contenus (items), afin de remplir au mieux l'espace disponible, et de s'adapter à tous les terminaux et toutes les tailles d'écrans. Note importante : Flexbox est plutôt adapté aux composants d'une application, de petite échelle, alors que les grilles conviennent à des mises en page complexes et à grande échelle. Les bases Propriétés Notez que :

Enclosing Float Elements | Floats | HTML & CSS Workshop | Gary Turner web development Developers who are new to css, or those who work primarily in IE, run into a vicious “bug” in Firefox and other modern browsers. Their backgrounds disappear, or their borders do—but everything's fine in IE. The gnashing of teeth is heard throughout the land. The truth is, there's a reason for the behavior, and IE has screwed up again. In this demo, there are two ways to see what's going on, IE's way, and the right way. IE7 has internalized many of the IE6 bug work-arounds. Basic Non-Enclosed Float Notice that in the first box, the float element extends beyond the parent div. On a side note, IE does not properly handle collapsed margins when an element has layout. Now is the time for all good men to come to the aid of their country. This is non-float content. Using The Overflow Property If the parent element has an overflow: value other than the default “visible”, the height of the element will be sufficient to contain child floats. Using The Display Property And so is this.