Animatable: One property, two values, endless possiblities box-shadow From: 0 0 black To: 0 150px 10px -50px rgba(0,0,0,.5) Author: @leaverou 20 CSS Codes to Simplify Your Web Styling Tasks | SkyTechGeek | Design Tips, Tutorials, Gadgets Web styling is a very challenging task for designers, as they are expected to fulfill all the requirements of the clients. It becomes tougher when you are not familiar with a website styling and you are given that site to modify. Many designers have set their styling procedures to remember their work; these CSS codes snippets are very helpful for the other designers. CSS development task is hard piece of work for the novice web designers plus very time consuming if you have stuck to simple looking but typical styling. To help you out, we are going to list 20 CSS codes to simplify your web styling tasks. 1. You can choose which individual 4 corners are rounded or have a blanket rounding of every corner. Source 2. This will make the first letter of your article bigger than the rest, all classic style. 3. This code is for when you need to hide the title text in the header of your website and replace it with your logo image instead. 4. 5. 6. 7. 8. Force your website to the center align. 9. 10.
reveal.js - The HTML Presentation Framework medialize/jQuery-contextMenu miketucker/svg-verlet.js Apprenez grâce aux snippets CSS Les snippets CSS, petits morceaux de code source peuvent être d’une grande utilité et représenter un gain de temps non négligeable dans la réalisation d’un projet. Avec l’abondance des nouveautés CSS3, les intégrateurs s’en donnent à cœur joie… Le support grandissant de CSS3 par les navigateurs à vu naître de nombreux sites proposant des collections de snippets et d’expériences avec CSS. Dans la même veine que les sites de PSD gratuits, ici vous trouverez des exemples fonctionnels de petits modules en HTML/CSS, mais également des animations. À la clé, une petite présentation avec les spécificité du code (compatibilité navigateurs, description…), des commentaires, améliorations de la communauté et bien plus encore. Découvrir et apprendre… En plus de vous faire gagner du temps, vous pouvez apprendre simplement en suivant les dernières bonne pratiques CSS. CSS Deck La référence en la matière pour le moment. Codepen Une galerie complète avec des snippets de qualité. CSS Pop Webexpedition18.com
Chartist - Simple responsive charts You may think that this is just yet an other charting library. But Chartist.js is the product of a community that was disappointed about the abilities provided by other charting libraries. Of course there are hundreds of other great charting libraries but after using them there were always tweaks you would have wished for that were not included. Highly customizable responsive charts Facts about Chartist The following facts should give you an overview why to choose Chartists as your front-end chart generator: Simple handling while using convention over configurationGreat flexibility while using clear separation of concerns (Style with CSS & control with JS)Usage of SVG (Yes! These projects and wrapper libraries are known to me right now that either use Chartist.js or wrap them into a library for usage in a framework. Cross-browser support Note that CSS3 animations on SVG CSS attributes are not supported on all browsers and the appearance may vary.
How to Create a CSS3 Wheel Menu There's no better way to learn CSS3 than to get your hands dirty on an actual project and that's exactly what we're going to do. I'm going to teach you how to create an awesome, layered CSS3 wheel menu using a few beginner to advanced CSS techniques. So break out your favorite text editor or IDE and let's get started on some CSS3 magic! Today you'll be learning how to create the candy cane teardrop out of the many different styles and color variations available. Note: Support for IE is limited at the moment. The Video Tutorial We're offering this tutorial in two different formats today: A video as well as a full written tutorial below. The Written Tutorial The step by step written tutorial is below. Step 1: The Layers The first thing we want to do is create some layers that will overlap each other and stay in place while using as little code as possible. The Code: As you can see the code is pretty straight-forward. Now we'll want to add some styling to each layer one by one. #menu-wrap:
50 Excellent CSS3 Techniques and Tutorials for Beautiful Design CSS3 has got a huge potential to create very elaborate and complicated details by strictly using CSS and no images. It can carry out a lot of functions as it is based on motion techniques. Many designers all over the world believe that CSS3 is a technique which has unbelievable potentiality which will be used to create wonderful designs in the years to come. At present, it is not being used varied all over the world due to a number of limitations – obsolete browsers being one of them. Many say that it would be the application of the future as it can improve the efficiency of the workflow by substituting waste workarounds as it was once used in the case of Internet Explorer 6. In the last few years we have seen many web developers who have talked about CSS (Cascading Style Sheet) and the possible designs it can create with the help of powerful animations. Create an Audio Player in HTML5 & CSS3 Filter Functionality with CSS3 CSS3 Navigation Menu with Notification Badges CSS3 Lightbox
Hide your header on scroll - Headroom.js Downloads Note: the sizes shown are after gzipping. What's it all about? Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user's scroll. The header on this site is a living example, it slides out of view when scrolling down and slides back in when scrolling up. Why use it? Fixed headers are a popular approach for keeping the primary navigation in close proximity to the user. Large screens are usually landscape-oriented, meaning less vertical than horizontal space. Headroom.js allows you to bring elements into view when appropriate, and give focus to your content the rest of the time. How does it work? At it's most basic headroom.js simply adds and removes CSS classes from an element in response to a scroll event: Relying on CSS classes affords headroom.js incredible flexibility. Usage Using headroom.js is really simple. With plain JS Include the headroom.js script in your page, and then: With jQuery/Zepto $("#header").headroom();
Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development sydcanem/bootstrap-contextmenu Building Interactive Scrolling Websites with ScrollMagic.js There’s a ton of options for doing animations. I’ll cover some of the more various ones, but, first let’s do the most common one – “tweening” using the GreenSock Animation Platform. Tweening is what the GSAP calls their animations. We’re specifically using their TweenMax library. TweenMax is awesome because it encompasses all their various plugins and additions into one. This gives us some cross-browser stuff, makes the browser use CSS3 animations first, is extremely performant, and it let’s you create complex animations and key frames with ease. TweenMax.to() This lets us create our most standard animations. You can get as infinitely creative as you want with this. You can do pretty much anything you would be able to do with CSS3 animations – colors, transforms, etc. TweenMax.from() This works exactly the opposite of TweenMax.to(). Here’s an example from one of the basic demos using the from() function instead: TweenMax.fromTo() This function is exactly what it sounds like. Staggering