background preloader

CSS Colors

CSS Colors

Créer un menu horizontal centré en CSS (sans JavaScript) Cet article a 3 années. Il commence à dater, lisez-le donc en gardant son âge en tête ! Merci publié le Lu 93 383 fois. C’est une chose qui peut paraître très simple à faire, mais sur laquelle beaucoup de personnes se sont cassés les dents. Aujourd’hui encore je trouve des solutions en JavaScript qui permettent d’attribuer une marge à gauche de l’élément ul pour centrer les li qu’il contient. Solution avec li en inline Vous savez sous doute que l’affichage des éléments de liste se fait par défaut en display: list-item;, qui procure à la liste ce comportement particulier, notamment l’attribution de puces de liste. Considérons le code HTML suivant : <ul id="nav"> <li><a href="#">Accueil</a></li> <li><a href="#">Services</a></li> <li><a href="#">À propos</a></li> <li><a href="#">Contact</a></li> </ul> Les commentaires HTML entre chaque élément de liste permettent de supprimer l’espace blanc (white-space) indésirable, visible sur certaines mises en forme. Solution avec li en inline-block

CSS Tutorial CSS Hat turns Photoshop layer styles to CSS3 with a click - PSD CSS - Convert PSD to CSS3 Links : Colors on Text Links There are a few settings that can be useful for controlling the colors of text links. This page will teach you how to: Define colors for all links on the page.Define colors for individual links on the page. Define colors for all links on the page The general color of text links is specified in the <body> tag, like in the example below: link - standard link - to a page the visitor hasn't been to yet. Define colors for individual links on the page The method described above is for setting overall link colors for the page. However, you might want one or more links to have different colors than the rest of the page. There are two methods for doing this: Placing font tags between the <a href> and the </a> tag. The second technique would look like this: Note: The RGB numbers indicate amounts of red, green, and blue using values between 0 and 255. Now, since neither of the two methods covers all browsers, we need to use both techniques at once. This example will work on all browsers:

lorempixel - placeholder images for every case Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development Collection of Free and Premium HTML5/CSS3 Templates - 50 Examples There are numerous high quality templates available in the internet. Some are free and some come with affordable cost. Nowadays web design is so popular that many designers across the globe is coming forward with their creation and helping bloggers like you and me to choose a ready made theme from their desk. Designers work day and night to create beautiful templates for us so that we can concentrate on the seo and content of our website. Every good thing comes with a price so as creative templates. Free Themes and Templates Elegant Press This is a clean template that can be used for making modern websites. Kroft This template is very good for creative designers and agencies that need to create modern websites. Shinra Mainly helpful for designing corporate websites, the template is user friendly and includes features like PHP contact form and templates exceeding 5 pages. Vivid Photo For those looking to design a photography website can easily use the Vivid Photo template. Simple Style 7 Nova

How To Get SSH Command-Line Access to Windows 7 Using Cygwin Are you comfortable with Linux/Unix and want SSH access to your Windows 7 machine? Cygwin provides this functionality and gives you a familiar environment to work with in a few simple steps. We’re assuming you’ve got Cygwin installed and configured. Installing OpenSSH OpenSSH is what we’ll be using, so if you don’t have it installed, find Cygwin’s setup.exe file and run it. You can keep all of the same defaults as when you originally set up Cygwin. You’ll see a package called “openssh”. Configuring OpenSSH in Cygwin Unlike in most Linux distros, OpenSSH won’t automatically configure itself to run and just work. This will make sure we have the proper privileges for everything. Enter the following command: ssh-host-config You’ll see the script generate some default files, and then you’ll be prompted for whether or not you want to enable “Privilege Separation.” You’ll be prompted to create a new account with special privileges. Next, you’ll be asked if you want sshd to run as a service. ntsec

Le BlogDuWebdesign boost l'inspiration des intégrateurs #4 - inspiration-integration Découvrez sur le Blog du Webdesign 10 animations CSS3 sans javascript ! Les animations et transitions CSS3 Qu'on se le dise, il n'est plus obligatoire d'utiliser du Javascript pour avoir de jolies animations sur son site ! Le CSS3 fournit deux outils vraiment très bien : les transitions et les animations. Les Transitions ne sont ni plus ni moins qu'un moyen de répartir le changement d'une propriété (par exemple un changement de couleur de texte au survol) dans le temps, pour donner un effet d'apparition, par exemple. Les animations sont bien plus que ça: Il est possible grace à elles de définir des images clés, et les transitions qui doivent être appliquées pour passer d'une image a l'autre ! Attention, ces deux propriétés ne sont pas supportés par internet explorer 9 et inférieur. Pour illustrer ce que l'on peut faire avec tout ça, découvrez 10 animations ne contenant pas de Javascript (ou alors n'utilisant le Javascript que pour des taches annexes, comme détecter un clic).

Related: