background preloader

CSS Syntax

CSS Syntax

HTML / XHTML Standard Event Attributes Générer des boutons en CSS Générer des boutons en CSS Si vous développez vos petits sites vous même, sachez qu'il existe un site qui s'appelle Button Maker et qui permet de créer des boutons de toute beauté, entièrement en CSS. Vous spécifiez vos couleurs, votre texte et en cliquant sur le rendu, vous obtiendrez le code CSS qui va bien pour mettre ça sur votre site. Maaaa kéééé c'est beauuuuuu ! Attention quand même sous IE car là, ça coince un peu...pas de dégradé, pas de coins arrondis... [Source] Vous avez aimé cet article ? 40 CSS3 Button Tutorials For Designers In this article, we will go through some hand-picked, awesome tutorials for wonderful buttons you can put on your site using only CSS3. Some of these buttons play with colors, gradients or shapes while others are programmed to animate with hover or click actions, giving effects like it’s being pushed down; extending, shrinking or switching frames to reveal more information. Anything you can think of to do with buttons, there’s probably an example of it here. So without further ado, here are 40 Awesome CSS3 button tutorials for web designers. Recommended Reading: CSS3Tutorial: Create A Sleek On/Off Button Animated Buttons with CSS3 [Demo | Tutorial] Pin it Fancy 3D Button with CSS3 [Demo | Tutorial] Just Some Awesome CSS3 Buttons [Demo | Tutorial] CSS3 Social Buttons [Demo | Tutorial] Pretty CSS3 Buttons [Demo | Tutorial] Download Me! Add to Cart Button in CSS3 [Demo | Tutorial] CSS3 Github Buttons [Demo | Tutorial] CSS3 Animated Bubble Buttons [Demo | Tutorial]

CSS Margin Properties Button Maker How To Make Your Own Sticky Header Bar Like MakeUseOf About a month ago, we introduced a new interface element to MakeUseOf – a floating navigation and search bar. The feedback we’ve been getting is almost entirely positive, internal search traffic has rocketed, and some readers having been asking about how to make one for their own site, so I thought I’d share. We’ll use jQuery to stick the bar to the top of the screen – but only past a certain point. I’ll do all this in the default WordPress theme – Twenty Eleven, though of course it can be applied to any theme or website which you sufficiently understand how to modify. The HTML First up, open the themes header.php and identify the navigation bar that we’ll be making sticky. Firstly, add a new DIV container surrounding this entire NAV section. <div id="access_container"><nav id="access" role="navigation"> ... Also, let’s move that default search bar into here. The CSS Open up the main style.css file and find the section for the search form: #branding #searchform { ... } jQuery Summary:

DIV/LAYER MOBILE COMME UNE FENETRE , Source N°16225 Javascript / J'ai monté ce script avec plein de bout de code trouver ici et la. ce script permet de creer une fenetre deplacable avec la souris avec les leyers. le script est compatible ie4 et + , ns4 et + . pour deplacer cette fenetre utilisez la barre marron (barre de titre, meme deplaement qu'une fenetre OS). pour afficher une image dans cette fenetre liquez sur un lien image1.gif ou image2.gif. pour cacher l'image chargée, cliquez sur O ds la barre de titre (idem pour la faire reaparaitre) le script n'est pas commenté mais le bloque est tres facilement utilisable pour tout vos sites. le style de la fenetre est modifiable via du code html assez simplement. Source / Exemple : Conclusion : un ptit zip est dispo et fonctionnel. perso jai testé sous IE5 et ns6 et ca marche impec (ce dont je suis plutot content). voila voilou.

Generateur de boutons CSS3 - Design et programmation web2 - Dji Développement CSS animation, transition, font, playground, ... Développement Javascript jQuery, Javascript, performance, ... Développement PHP test unitaire, librairies, ... Développement HTML5 HTML5 Api, localStorage, geolocalisation, ... Développement jQuery jQuery, plugins, performance, ... Outils pour développeur bordure, box-shadow, multi-columns, ... Voici un générateur de boutons CSS3 Update : Mise a jour du générateur Prise en charge d'IE10 Mise a jour de la syntaxe Résultat Code à copier Faire un don pour m'aider à continuer d'améliorer le site Autres outils que vous pourriez aimer

How to Build a Website From Scratch With Dreamweaver In a world of drag-and-drop website builders, Adobe Dreamweaver has done well to stay relevant amid the competition. Packed with great features and loads of tools to make your life easy, this software is a great choice for web designers and developers. But how do you build your first website using Dreamweaver? Getting Started With Dreamweaver You need to get a copy of Adobe Dreamweaver before you can start working with it, but a free trial is available. Head to the Adobe website, log in or register an account, and download the Adobe Creative Cloud tool to get started. This guide will show you how to make a basic website using Dreamweaver template files as its base. Step 1: Create a Dreamweaver Site Open Adobe Dreamweaver and go to the Site menu at the top of the page. Step 2: Create a Template File Next, it’s time to create a template file for your new website. Click on Create New or go to File > New and choose HTML Template from the Document Type list. A dialog will open at this point. <!

CSS Ce que vous avez toujours voulu savoir sur CSS Adaptive Images and Responsive Web Design Cédric Morin makes a ready-to-use solution solving Adaptive Images issue, that fits well with dynamic websites (one more solution, yeah): this solution is not trivial, but is designed to be automated. Adaptive Images et Responsive Web Design Cédric Morin étudie une solution prête à l’emploi pour résoudre le casse-tête des Adaptive Images, adaptée aux sites dynamiques (une de plus, oui). Cette solution est complexe, mais est prévue pour être complètement automatisable (comprenez industrialisable). Intégration web, les bonnes pratiques Une fois n’est pas coutume, nous reproduisons ici la préface du livre « Intégration Web, les bonnes pratiques » avec l’accord de l’auteure Corinne Schillinger. Rétablissons l’outline Un point extrêmement simple à gérer en matière d’accessibilité mais tellement important pour certaines personnes est souvent oublié, ce point s’appelle… la visibilité du focus clavier.

CSS3 Create - Démos, tutoriels et expériences CSS : menus, galerie photos, interfaces web. CSS: Specificity Wars CSS: Specificity Wars Join me, and together we can rule the galaxy as father and geeks! A few weeks back in Cupertino, I saw Aaron explain how the specificity of CSS selectors is calculated in a way which I hadn't seen before. Then today I came across a knotty problem while building XHTML and CSS templates for a new project where two selectors behaved differently to how I expected and I realised that I had not completed my training. The Dark Side My problem was a simple one, how to feed a transparent PNG image to browsers which support transparency and a GIF image to older browsers which don't, without resorting to hacks. <div id="nav-supp"><p><a id="a-02" href="#webstandards-org">Top</a></p><! and my CSS starting point. I had assumed that a modern browser would see and apply both rules (with the second overriding the first) and that an older browser which does not understand attribute selectors would see and apply only the first, ignoring the second. Sith Lords Too much! Resources Replies

Zoom d'images avec les CSS Parmi les multiples techniques permettant de zoomer une image à l’écran, voici celle qui, uniquement à l’aide de CSS2, permet un zoom au survol d’une image avec la souris. Première technique Zoomer une image, à l'aide des CSS2, lors de son survol de la souris peut se faire très facilement. Code (X)HTML L'image est déclarée dans le code HTML sans valeurs de tailles (ni width, ni height) : Code CSS Pour éviter tout saut ou recouvrement du texte sous-jacent lors du zoom, on peut déclarer cette image dans un cadre (ici appelé zoom) de hauteur égale à la photo zoomée (ici 400px). Les valeurs de tailles sont déclarées au sein de la feuille de style tout d'abord dans son état initial (img), puis dans son état survolé (img:hover). Résultat Testez le résultat dans votre navigateur. Au survol : Hélas cette technique simplissime ne fonctionne pas avec MSIE 6 car celui-ci ne supporte la règle :hover que pour les éléments liens. Seconde technique Cette méthode a trois inconvénients : Image et code CSS Astuces

Related: