background preloader

Menu

Facebook Twitter

Pauline De Sa Teixeira. Understanding the CSS Clip Property. Learn about the underused and often misunderstood CSS clip property and understand how to apply it for some nifty effects. Hi guys! First of all let me wish a belated happy new year to all of you. Today we are going to do something different: dig deep into one single CSS property. And that property is going to be the “clip” property. I’m pretty sure some of you don’t even know there is a CSS property called clip since it’s probably the less used property in the world. It’s no big deal guys, we will cover pretty much everything you have to know about it. The clip property aims at defining what portion of an element you want to show. Syntax Let’s get started straight away with the syntax of the clip property which is not only a little bit weird but also probably difficult to understand at first glance.

First thing you should note: the clip property only works on elements with position: absolute or position: fixed. To be honest, I don’t really know why it is like that. The rect() function. CSS Reference. Metropolis 1920 on Behance. CSS3 Lightbox. Today we want to show you how to create a neat lightbox effect using only CSS. The idea is to have some thumbnails that are clickable, and once clicked, the respective large image is shown. Using CSS transitions and animations, we can make the large image appear in a fancy way. View demo Download source With the help of the pseudo-class :target, we will be able to show the lightbox images and navigate through them.

The beautiful images are by Joanna Kustra and they are licensed under the Attribution-NonCommercial 3.0 Unported Creative Commons License. Please note that this will only work with browsers that support the :target pseudo class. Let’s do it! The Markup We want to show a set of thumbnails, each one having a title that will appear on hover. The anchor for the thumbnail will point to the element with the id image-1 which is the division with the class lb-overlay. Note that we only use a navigation in the last demo. Let’s beautify this naked markup. The CSS And that’s all the style! Demos. Sliding Image Panels with CSS3. Today we'll show you how to create some neat sliding image panels with CSS only. The idea is to use background images for the panels and animate them when clicking on a label.

We'll use radio buttons with labels and target the respective panels with the general sibling selector. View demo Download source Today we’ll show you how to create some neat sliding image panels with CSS only. The idea is to use background images for the panels and animate them when clicking on a label. The beautiful images are by Joanna Kustra and they are licensed under the Attribution-NonCommercial 3.0 Unported Creative Commons License. You might as well be interested in Filter Functionality with CSS3 where we have used a similar technique for filtering elements based on their type. Please note: the result of this tutorial will only work as intended in browsers that support CSS transitions and animations. The Markup Let’s style this baby. The CSS Let’s prettify the label by adding a little circle. And that’s it! 100 Great CSS Menu Tutorials. Aug 23 2011 Navigation is such an important part of your website.

It’s how your visitors navigate to the main areas of your site and makes it easy for them to find your good content. CSS is of course the perfect language for designing beautiful navigation menus. It can be applied to any type of website and is very flexible. Today we would like to show you 100 of these tutorials; 75 horizontal CSS menu tutorials and 25 vertical CSS menu tutorials. Horizontal CSS Menu Tutorials 1. View Tutorial | Demo 2. View Tutorial | Demo 3.

View Tutorial & Demo 4. View Tutorial | Demo 5. View Tutorial | Demo 6. View Tutorial | Demo 7. View Tutorial | Demo 8. View Tutorial 9. View Tutorial | Demo 10. View Tutorial | Demo 11. View Tutorial | Demo 12. View Tutorial | Demo 13. View Tutorial | Demo 14. View Tutorial & Demo 15.

View Tutorial | Demo 16. View Tutorial | Demo 17. View Tutorial 18. View Tutorial | Demo 19. View Tutorial | Demo 20. View Tutorial | Demo 21. View Tutorial & Demo 22. View Tutorial | Demo 23. 24. 25. 26. Image Accordion with CSS3. Responsive Content Navigator with CSS3. Today we want to show you how to create a responsive, css-only content navigator. View demo Download source Today we’ll show you how to create a content navigator with CSS only.

The idea is to have several slides or content layers that we’ll show or hide using the :target pseudo-class. With CSS transitions we can make the slides appear in a fancy way. The images used in the demo are by super-talented Karrie Nodalo. Please note: the result of this tutorial will only work as intended in browsers that support the CSS properties in use. In the following we’ll be going through demo 3. The Markup For each of the different slides that will either contain a set of links, sub-slides or some content, we will have a division with the class cn-slide. There will be one main slide that will have links to three sub-slides. The sub-slides and the slides with content will have a link back to their previous “layer”. Let’s take a look at the CSS! The CSS The slides will also be placed absolutely. Demos. Content Navigator with CSS3. Menu avec slider effet transition - Réaliser un effet de bloc dépliable en CSS avec opacité.