796 shaares
143 results
tagged
Html5
Reuze is a teeny-tiny front end framework that makes structuring HTML and CSS for mid-to-large sized content-rich sites a breeze. It plays nice with other frameworks such as Foundation and Boostrap but also works equally well on it's own.
Quickly create semantic HTML5 code blocks that conveniently sit in 'namespaced' containers ('.ac' for article content as an example) and download the accompanying 10KB (or less) of CSS awesomeness from Github. It's responsive, IE8-friendly and topped up with RDFa Lite goodness!
Quickly create semantic HTML5 code blocks that conveniently sit in 'namespaced' containers ('.ac' for article content as an example) and download the accompanying 10KB (or less) of CSS awesomeness from Github. It's responsive, IE8-friendly and topped up with RDFa Lite goodness!
Starting from scratch, we’re going to learn through these 2 tutorials how to build a small RSS reader with HTML5, CSS3 and WinJS, the Microsoft JavaScript framework for Windows 8. We will then build a WinRT application targeting the Windows Store. We’ll try also to follow the Windows 8 UI design guidelines by using Expression Blend 5. If everything goes fine, you should be able to follow these 2 articles in 30 minutes.
This site teaches the CSS fundamentals that are used in any CSS layout.
I assume you already know how to make things colorful. You know what selectors, properties, and values are. And you probably know a thing or two about layout, though it may still be a rage-provoking activity for you. Let's see if we can save you some fury on your next project.
I assume you already know how to make things colorful. You know what selectors, properties, and values are. And you probably know a thing or two about layout, though it may still be a rage-provoking activity for you. Let's see if we can save you some fury on your next project.
So here we're collecting all the shims, fallbacks, and polyfills in order to implant html5 functionality in browsers that don't natively support them.
The general idea is that: we, as developers, should be able to develop with the HTML5 apis, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly.
Looking for a way to conditionally load these scripts client-side based on feature detects? See Modernizr. Looking for a guide to writing your own polyfills? See Writing Cross-Browser JavaScript Polyfills.
The general idea is that: we, as developers, should be able to develop with the HTML5 apis, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly.
Looking for a way to conditionally load these scripts client-side based on feature detects? See Modernizr. Looking for a guide to writing your own polyfills? See Writing Cross-Browser JavaScript Polyfills.
Il est loin le temps où le JS était un sous langage utilisé uniquement par des deumeurés en mal de <blink>. Maintenant c’est un sous langage utilisé par des gens très sérieux. PHP l’a bien prouvé, on peut être parfaitement utile en ayant une syntaxe daubée, et Javascript se pare donc de tout un tas de trucs surpuissants en ces temps de HTML5, CSS3 et Rambo8.
Fini donc le temps où votre site restait prisonnier de son canvas en 800×600, maintenant votre dernière application de calcul de budget de croquettes pour hérisson peut enfin s’exprimer dans toute la hauteur et la largeur d’un écran Retanal grâce à requestFullscreen(), qui va vous permettre … d’appuyer sur F11 à la place de l’utilisateur.
Mais il aura à faire un clic de confirmation quand même. Car il aura un gros prompt bien alarmant avant. Le progrès je vous dis !
Fini donc le temps où votre site restait prisonnier de son canvas en 800×600, maintenant votre dernière application de calcul de budget de croquettes pour hérisson peut enfin s’exprimer dans toute la hauteur et la largeur d’un écran Retanal grâce à requestFullscreen(), qui va vous permettre … d’appuyer sur F11 à la place de l’utilisateur.
Mais il aura à faire un clic de confirmation quand même. Car il aura un gros prompt bien alarmant avant. Le progrès je vous dis !
There are a couple of reasons why you’d want to convert local or online HTML files to the plain text format (.txt). Maybe you want to move the files to a device that can’t read or display HTML files properly, or maybe, you’d like to turn multiple HTML documents into a single text document for easier archiving, or, you just need the textual information from the documents to use them for work.
While you can now go ahead and use copy and paste to do that, or go through the source code manually, you may quickly realize that it takes some time to do so. Going through the source code is usually not the best option as you may end up copying HTML tags to the new document which are not interpreted in the plain txt file. Depending on the HTML files structure, you may also have issues copying its textual contents when you view it in a browser.
While you can now go ahead and use copy and paste to do that, or go through the source code manually, you may quickly realize that it takes some time to do so. Going through the source code is usually not the best option as you may end up copying HTML tags to the new document which are not interpreted in the plain txt file. Depending on the HTML files structure, you may also have issues copying its textual contents when you view it in a browser.
Built using SASS and CSS3 media queries, Centurion is a responsive web framework that scales with your device. No longer do you need to worry about the screen size of an iPhone or an Android tablet since Centurion does the work for you.
Want to test Centurion out simply fork or download the repository on Github to get started and see the power a responsive framework can have on your next web project.
Want to test Centurion out simply fork or download the repository on Github to get started and see the power a responsive framework can have on your next web project.
Where are we at right now in terms of the best markup for using icon fonts? Let's cover some options I think are currently the best.
1. You want the icon to enhance a word
2. You want the icon to stand alone but still be functional or informational
And our major goals here are:
1. As good of semantics as we can get
2. As little awkwardness for screen readers as possible
This ground has been treaded before, but I think the following techniques are a small step forward.
1. You want the icon to enhance a word
2. You want the icon to stand alone but still be functional or informational
And our major goals here are:
1. As good of semantics as we can get
2. As little awkwardness for screen readers as possible
This ground has been treaded before, but I think the following techniques are a small step forward.
An average page is now over 1200kB in size and 60% of that is in images. With all the focus on performance and speed across the web performance industry, you would think that innovating on better image formats would be a top agenda item. Not so. Instead, we are living in a self-imposed world of scarcity of formats, effectively limiting ourselves to gif’s, png’s and jpeg’s.
In practice, deploying new image formats has been painful - just think back to the saga of png. But one would also hope that png was not the last. In fact, if we really want to make an impact on web performance, then image formats is the place to do it. There is absolutely no reason why we shouldn't have dozens of specialized formats, each tailored for a specific case and type of image. But before we get there, we need to iron out some kinks...
In practice, deploying new image formats has been painful - just think back to the saga of png. But one would also hope that png was not the last. In fact, if we really want to make an impact on web performance, then image formats is the place to do it. There is absolutely no reason why we shouldn't have dozens of specialized formats, each tailored for a specific case and type of image. But before we get there, we need to iron out some kinks...
SMACSS (pronounced “smacks”) is more style guide than rigid framework. There is no library within here for you to download or install. SMACSS is a way to examine your design process and as a way to fit those rigid frameworks into a flexible thought process. It is an attempt to document a consistent approach to site development when using CSS. And really, who isn’t building a site with CSS these days?!
We’re a group of developers working towards a markup-based means of delivering alternate image sources based on device capabilities to prevent wasted bandwidth and optimize display for both screen and print.
What's the easiest way to scale background images in responsive layouts? We use an old technique and enhance it to fluidly change the aspect ratio of background images.
Responsive layouts make it possible to dynamically scale the width of a website to fit on small mobile devices as well as larger desktop computers. An <img> element with a percentual width will have its height automatically adjusted. Its aspect ratio remains the same when it is resized.
If we want to accomplish the same with background images we must figure out how to maintain the aspect ratio of any HTML element.
Responsive layouts make it possible to dynamically scale the width of a website to fit on small mobile devices as well as larger desktop computers. An <img> element with a percentual width will have its height automatically adjusted. Its aspect ratio remains the same when it is resized.
If we want to accomplish the same with background images we must figure out how to maintain the aspect ratio of any HTML element.
Je ne suis pas un gros fan de responsive design. Ce qui me dérange, ce n'est pas vraiment le fait d'adapter des mises en page à la taille de son navigateur. Ce n'est pas vraiment nouveau, et on a même retrouvé un exemple datant de 1999. La vraie nouveauté, c'est la possibilité d'utiliser des fonctionnalités natives de CSS pour parvenir à ce résultat. Mais ce qui me dérange, c'est que la technologie actuelle ne nous permet pas de proprement résoudre ce problème.
Au début du mois, Apple a sorti l'iPad mini. C'est une belle machine, aux caractéristiques très proches de l'iPad 2. Et ça c'est embêtant pour nous, pauvres intégrateurs, car l'iPad mini et l'iPad 2 ont la même résolution d'écran, mais pour une taille d'écran bien différente (respectivement 7,9" et 9,7"). Avec si peu de différence, Apple a fait en sorte que toutes les applications sur iPad mini fonctionnent comme sur iPad 2. Et c'est donc valable pour Safari, où il est presque mission impossible de détecter l'iPad mini, même via user agent ou device-pixel-ratio.
Au début du mois, Apple a sorti l'iPad mini. C'est une belle machine, aux caractéristiques très proches de l'iPad 2. Et ça c'est embêtant pour nous, pauvres intégrateurs, car l'iPad mini et l'iPad 2 ont la même résolution d'écran, mais pour une taille d'écran bien différente (respectivement 7,9" et 9,7"). Avec si peu de différence, Apple a fait en sorte que toutes les applications sur iPad mini fonctionnent comme sur iPad 2. Et c'est donc valable pour Safari, où il est presque mission impossible de détecter l'iPad mini, même via user agent ou device-pixel-ratio.
When it comes to responsive design we are faced with various techniques on how to best handle altering our navigation menus for small screens. The resources seem endless. That’s why I’m going to show you four main concepts and discuss the advantages and disadvantages of all of them.
Three of them are made with pure CSS and one uses a single line of JavaScript.
Three of them are made with pure CSS and one uses a single line of JavaScript.
Just a small update to make the music player compatible with IE7 and IE8. Now all major browsers are supported.
This is a pretty awesome jQuery video player. It has playlist functionality and lots of callbacks/options for customization.
The original design was created by the very talented kb.
The original design was created by the very talented kb.
Introduites en HTML5, les microdonnées sont de simples attributs qui se greffent à la structure HTML. Elles ont pour objet de décrire la nature du contenu à l’instar du RDFa et des microformats. Enrichir le contenu d’une surcouche qui puisse être comprise et interprétée par les différents programmes n’est bien sûr pas une nouveauté : ça fait bien longtemps que la question s’est posée et que des solutions ont été proposées.
Malheureusement, elles n’ont jamais été totalement satisfaisantes : RDFa n’a jamais été utilisé à grande échelle du fait de sa complexité supposée, et si les microformats ont rencontré un vif succès, ils présentent l’inconvénient de détourner la nature de certains composants pour marquer le contenu et d’être difficilement extensibles.
Malheureusement, elles n’ont jamais été totalement satisfaisantes : RDFa n’a jamais été utilisé à grande échelle du fait de sa complexité supposée, et si les microformats ont rencontré un vif succès, ils présentent l’inconvénient de détourner la nature de certains composants pour marquer le contenu et d’être difficilement extensibles.
The history object isn’t new; in fact, you can trace its beginnings to the early browsers from the 1990s. While it has never been based on a public standard, until HTML5 that is, every browser has supported its meager, yet sometimes useful, functionality. Since its inception, the history object has provided a means to work with the history of a particular tab in the browser (or a window before tabbed browsing became the norm). This is sometimes referred to as session history.
Fully customizable content ingestion wizard, enabling end users to upload and import media from various sources.
Kaltura’s ingestion engine allows users to add videos, photos, and audio files in a wide variety of formats. The engine is extremely flexible and easy to customize, allowing publishers to include different features and functionalities
Kaltura’s ingestion engine allows users to add videos, photos, and audio files in a wide variety of formats. The engine is extremely flexible and easy to customize, allowing publishers to include different features and functionalities
The HTML5 revolution has provided us some awesome JavaScript and HTML APIs. Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers. Regardless of API strength or purpose, anything to help us better do our job is a step in the right direction. I recently shared with you 5 HTML5 APIs You Didn’t Know Existed in the hope that some of them would inspire you to improve your own web apps. I'd like to share with you 5 more lessor known HTML5 APIs -- hopefully you find some of them useful!