background preloader

CSS

Facebook Twitter

Circular Tooltip (SO) Building the StartupGiraffe website. We launched our new StartupGiraffe website a few months ago, and we’ve been meaning to write a post about how we did a piece of the frontend for anyone interested. Our goal was to create a fun and responsive site that showed off our brand. Once our friends at Barrel NY agreed to do the graphic design for the site, we knew we’d also be able to pull of some neat tricks. We’d told them we wanted a really tall giraffe, but we didn’t really see all of the possibilities until we got the designs back: there were polygons of different colors, angles and shapes in the background; in the foreground, there were all sorts of elements that could work well in a parallax website…and there was that enormous giraffe.

The challenge for us was to make sure we didn’t go too far overboard with the Javascript so as to tax the performance of the site and distract the user experience. Site structure At a basic level, the site contains 3 sibling sections stacked on top of each other. Growing giraffe effect. Digital Bits. Page Transitions with CSS3. In the last few years, we've seen a lot of single page websites lying around the internet, most of them using JavaScript for some transitions effect.

Well, now I'm gonna teach you how you can have your own, but instead I'll be using CSS Transitions and the :target property to do all the magic. View demo Download source In the last few years, we’ve seen a lot of single page websites lying around the internet, most of them using JavaScript for some transitions effect. Well, now I’m gonna teach you how you can have your own, but instead I’ll be using CSS Transitions and the :target property to do all the magic.

The Dribbble shots used in the demos are by Matt Kaufenberg. Markup The HTML will contain five main divisions: a header and the four content sections. In the header we will have the main heading and the navigation: Now, the main idea is to use the pseudo-class :target in order to add a transition to the current section. First we will give style to our header and the navigation. How To Create a Trendy Flat Style Nav Menu in CSS. I’ve heard from a bunch of people who found my CSS drop down menu tutorial really useful, so today’s we’re going to build another menu with some fancy hover effects. With the Flat design trend being so popular we’ll use adopt this style for today’s menu by using bright solid colours and clean icons. We’ll be using various must-know CSS techniques so this is a great tutorial for any web designers learning the basics. Here’s the menu we’ll be building as part of this tutorial. It’s based on the oh-so-popular flat design trend with solid colours and neat square boxes.

The clean icons are courtesy of the Linecons pack and the font we’ll be using via Google Webfonts is Dosis. View the flat style CSS nav menu demo Before getting started with any styling we first need to build the foundations and construct the menu in HTML. <! The HTML begins with the usual document structure of doctype, title and link to the CSS stylesheet which we’ll be populating later.

The Complete CSS. Animate.css - a bunch of plug-and-play CSS animations. More CSS Secrets Another 10 things you may not know about CSS. Top Bar CSS Snippet. CSS3 Animated Navigation Menu. Martin Angelov In this short tutorial, we will be creating a colorful dropdown menu using only CSS3 and the Font Awesome icon font. An icon font is, as the name implies, a font which maps characters to icons instead of letters.

This means that you get pretty vector icons in every browser which supports HTML5 custom fonts (which is practically all of them). To add icons to elements, you only need to assign a class name and the icon will be added with a :before element by the font awesome stylesheet. The HTML Here is the markup we will be working with: index.html <nav id="colorNav"><ul><li class="green"><a href="#" class="icon-home"></a><ul><li><a href="#">Dropdown item 1</a></li><li><a href="#">Dropdown item 2</a></li></ul></li></ul></nav> Each item of the main menu is a child of the topmost unordered list. CSS3 Animated Dropdown Menu The CSS As you see in the HTML fragment above, we have unordered lists nested in the main ul, so we have to write our CSS with caution.

Assets/css/styles.css Done!

CSS Preprocessors

Framework CSS. Les grilles dans le webdesign. "Il y a quelque chose de différent entre ce site et le mien… Il a l'air de faire plus pro et je ne sais pas pourquoi ! " N'avez-vous jamais eu ce genre de remarque ? Pourtant vous utilisez Photoshop (ou autres programmes équivalents) depuis un certain temps, vous connaissez les règles typographiques et celles du web, la palette de couleur a été choisie avec soin... Bref, rien n'y fait : votre site semble déstructuré / désharmonisé. Pas d'inquiétude, vous n'avez sans doute pas utilisé de grille dans votre design ! Une grille, comme dans le film* ? Utilisée en imprimerie, il est tout à fait possible de transposer le système de grille dans le domaine du web.

. * Un film très bleu avec des motos, des combats de disques et un certain monsieur Flynn. Grilles : les bases Il existe beaucoup de grilles différentes avec autant de cas concrets d'utilisations. Anatomie d'une grille Elle sert d'armature pour organiser la page et son contenu. On obtient alors une page plus lisible et plus homogène. Les 30 sélecteurs CSS à connaître absolument. Tomsyweb.com Buy this domain The owner of tomsyweb.com is offering it for sale for an asking price of 345 GBP! Related Searches This page provided to the domain owner free by Sedo's Domain Parking. Disclaimer: Domain owner and Sedo maintain no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo or domain owner and does not constitute or imply its association, endorsement or recommendation.

CSS3 – Effet de feuilles superposées. Il y a quelques jours de cela je répondais à un petit tweet d’un confrère pour donner une astuce sur la création d’un effet graphique de feuilles superposées en CSS3. Le défi était de ne pas multiplier les éléments HTML pour réaliser cet effet. C’est chose faite. Jetons un œil sur la technique utilisée. Tweet et réponse L’idée me semblait intéressante, voici ma proposition visible sur dabblet et correspondant au mieux à l’image fournie par Daniel :Effet de feuilles superposées Comment faire ? Nous allons voir plusieurs exemples pour réaliser deux effets similaires. Démonstration Pour réaliser le premier effet, utilisons un code HTML simple correspondant à un bloc de citation : <blockquote><p>C'est en forgeant qu'on devient forgeron</p></blockquote> Ce code suffit amplement pour notre affaire. N’oubliez pas que ce code CSS n’est pas préfixé (-webkit-, -moz-, etc.) et qu’il convient de le faire pour les propriétés CSS3 (ici box-shadow, transform-origin et transform).

Aller plus loin.