background preloader

CSS

Facebook Twitter

CSS3 Font Bird. CSS3 Please! The Cross-Browser CSS3 Rule Generator. CSS3 Drop Caps. CSS3 Drop Caps Today is design orienting article. I am going to tell you about making nice-looking drop caps with css3. I sure that you have been already saw these big letters in each children’s book of fairy tales. Especially in old books. To repeat this effect some webmasters separated this first letter (into own DOM element) and applied special own styles for it. But, this is not necessary in case of CSS3. Here are samples and downloadable package: Live Demo download in package Ok, download the example files and lets start coding ! Step 1. Here is basic html structure of our page: index.html Step 2. Here are all necessary CSS styles for achieve this effect: css/slider.css First half of styles is page layout.

Conclusion Our new tutorial is complete. If you enjoy our articles, feel free to share our tutorials with your friends. Erreur de chargement de la page - Vimperator. 20 Amazing Examples of Using Media Queries for Responsive Web Design. Responsive web design is one of the hottest topics among designers and developers right now. If you’re not quite sure what it’s all about, we’ll walk you through what it is, how it works and how CSS media queries are something you need to start incorporating into your own designs. To top it all off, we’ll finish with twenty seriously impressive of responsive designs that use media queries to present experiences specifically catered to different visitors.

What Are Media Queries? CSS3 has brought about a ton of fancy visual effects such as shadows and animations, but what about practical improvements? Is there anything about CSS3 that actually improves the way you can build websites from a usability standpoint? The answer is a resounding “yes” and is due largely to the inclusion of media queries. Media queries are incredibly useful because they solve a huge problem that arose quite suddenly in web design: the need to design for vastly different screen sizes. How It Works More Live Examples. Css3 drop shadow generator. The CSS 3 Flexible Box Model. This article about the Flexible Box Layout was written by Jérémie Patonnier, French open Web enthusiast.

The flexible box model CSS 3 introduces a brand new box model in addition of the traditional box model from CSS 1 and 2. The flexible box model determines the way boxes are distributed inside other boxes and the way they share the available space. You can see the specification here. This box model is similar to the one used by XUL (the user interface language used by Firefox). Some others languages use similar box models such as XAML or GladeXML. Usually the flexible box model is exactly what you need if you want to create fluid layouts which adapt themselves to the size of the browser window or elastic layouts which adapt themselves to the font size. In this article, all my examples are based on the following HTML code: Distributing boxes: so what?

By default, the traditional CSS box model distributes boxes vertically depending on the HTML flow. Horizontal or vertical distribution. Layer Styles. CSS3 Generator - By Eric Hoffman & Peter Funk. Switching from Sass to Stylus - retype. Switching technologies is a tricky thing, especially if you have already a lot of code. We had rewritten our css framework - which internally is called "BRICKS" - from pure css to sass in order to use some features like mixins, variables, conditionals, etc. in late 2009.

We started development of GRADETY based on this and have built a lot of sass files on top of that, which all would have to be changed again if we should decide to now opt for stylus. We did it anyway and - so far - it works great. Stylus is an expressive, dynamic, robust css pre-processor developed by TJ Holowaychuck. It is in many ways similar to Sass - which made the switch easy - but built specifically for node.js. h1 font-size 30px color #d3d3d3 text-transform uppercase h1 font-size 30px color #d3d3d3 text-transform uppercase headline_mixin() .headline // define the mixin headline_mixin() font-size 30px color #d3d3d3 text-transform uppercase // use the mixin .headline headline_mixin() headline_mixin($siz=30px, $col=#d1d1d1)

HTML5 and CSS3 Cheat Sheets - WebsitesMadeRight.com. [challenge] Build your infographics in HTML5 and CSS3. I challenge you to create a beautiful CSS3/HTML5 infographic :) See at the end of the article for more infos. I see a lot of infographics around here, and most of them could be built only with web technologies (HTML5 + CSS3 + SVG). src: 12345; Most of the infographics we see are beautiful, but sooooo static.

You can make them much more alive if you use the web technologies. Interactive content You can change the style/content of an element if the user interact with it: :hover effects, fold/unfold on click, buttons to decide what to draw and select options (select a country, choose how to sort, ...), etc. Live data With an image, you're just showing a "snapshot" of your data at a certain time. Animations Make it move! Make it sexy Well, it's obvious, your infographic must be beautiful.

Side effects Your infographic will be accessible (copy/paste!) Want to give it a try? Here is a random list of free data sets. Embellishing Your Google Map with CSS3 and jQuery. Interactive maps are neat. It’s not hard to get a basic map embedded on your page, but Google provides a rich and easy to use API for embedding and decorating maps on your web page, so there should be no excuse for boring default maps. In this article I’ll share a technique I used recently to spice up the “Places to shop and eat” map on Vegan Melbourne, using a combination of the Google Maps API, jQuery animation, and some newer CSS effects.

There are two options for creating a Google map overlay: KML, or custom javascript. KML is an XML file format used by Google Earth and maps that can specify placemarks and other overlays. It is great for standardization and for efficiently displaying large amounts of data in an overlay, but it limits your metadata and customization options. For the other option, Google provides an API to add placemarkers and other features in real time to a map. The Basics To get started, we need to load up jQuery and the Google Maps API library. <! Behaviour Protips. How to avoid common CSS3 mistakes. Holmes.css - CSS Markup Detective. What does it do? The holmes.css file will display either an error (red outline), a warning (yellow outline), or a deprecated style (dark grey outline) for flags such as: Missing required attributes on tags, such as name attributes on inputs (lots of these) Potentially improvable markup, such as links with href="#" Deprecated and Non-W3C Elements - see W3C.org's article on obselete tags Non-W3C Attributes - as above, just the most important ones since there are MANY Thanks to Anthony Mann, holmes now displays an informative error message when you hover over the element.

Support for :after/::after on images is non-existent however in most browsers. How do I use it? Simply download a version of the CSS, minified or normal (with docs), and include a stylesheet link to it on your page. In terms of configuration, such as changing the flag colours: go nuts! Why should I use it? Browser Support Works 100% in Google Chrome 10+ Safari 5+ Opera 10+ Firefox 3.5+ Responsive Web Design Articles, Tutorials & Guides. A couple of weeks back my showcase of responsive website designs proved pretty popular, so let’s revisit the topic and look at some super handy articles, tutorials and guides that will help you get started with @media queries in order to create your own responsive or adaptive web designs.

The resources in this collection have been hand picked as the best the web currently has to offer. Creating a website that is responsive essentially means the design of that particular website will ‘respond’ according to the medium that is being used to view it. We’re probably all familiar with the battle of designing fluid websites for various browsers back in the days of table based design, in these modern times we also have a range of devices such as smartphones and tablets which all add different resolutions and even orientations into the mix. A responsive web design will usually use CSS @media queries to style the page according to specific rules, such as min-width. View the article. Mgeraci/Less-Boilerplate. .gradientV4(#F2F1CB, #F0CED6, 33, #CED3F0, 66, #D2F0CE); hover to see compiled code background: #e2f1cd; background-image: -moz-linear-gradient(top, #f2f1cb, #f0ced6 33%, #ced3f0 66%, #d2f0ce); background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f1cb), color-stop(0.33, #f0ced6), color-stop(0.66, #ced3f0), to(#d2f0ce)); background-image: -webkit-linear-gradient(top, from(#f2f1cb), color-stop(0.33, #f0ced6), color-stop(0.66, #ced3f0), to(#d2f0ce)); background-image: -o-linear-gradient(top, #f2f1cb 0%, #f0ced6 33%, #ced3f0 66%, #d2f0ce 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f2f1cb, endColorstr=#d2f0ce); -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f2f1cb, endColorstr=#d2f0ce); background-image: linear-gradient(top, #f2f1cb 0%, #f0ced6 33%, #ced3f0 66%, #d2f0ce 100%); .gradientH4(#F2F1CB, #F0CED6, 33, #CED3F0, 66, #D2F0CE);

30+ Handy CSS Tools and Generators. CSS drop-shadows without images. Drop-shadows are easy enough to create using pseudo-elements. It’s a nice and robust way to progressively enhance a design. This post is a summary of the technique and some of the possible appearances. Demo: CSS drop-shadows without images Known support: Firefox 3.5+, Chrome 5+, Safari 5+, Opera 10.6+, IE 9+ I’ll be looking mainly at a few details involved in making this effect more robust. Divya Manian covered the basic principle in her article Drop Shadows with CSS3 and Matt Hamm recently shared his Pure CSS3 box-shadow page curl effect.

After a bit of back-and-forth on Twitter with Simurai, and proposing a couple of additions to Divya’s and Matt’s demos using jsbin, I felt like documenting and explaining the parts that make up this technique. The basic technique There is no need for extra markup, the effect can be applied to a single element. The pseudo-elements need to be positioned and given explicit or implicit dimensions. The final core code is as shown below. Further enhancements. Inuit.css—cooler than a polar bear’s toenails… 28 Excellent HTML 5 & CSS3 Tutorials and Techniques | Designs Mag (Designs Magazine) If designers have good command on this programing language, they can learn any designing language easily. But now a days, this is the most powerful and upcoming technology which can make your application beautiful and attractive.

HTML 5 have different type of new tags and techniques. Advanced techniques are such as drag and drop and create one page websites and blog designs in few line of codes. This is really helpful for designers and developers. In this post we are going to present you 28 Excellenbt HTML 5 Tutorials and Techniques for web designers . So, have a look on this useful stuff. I hope u like this article and will welcome this new technique in design era. Don’t forget to , and like our for recent updates. {*style:<b> </b>*} Naaz 28 Crushing Resources and Tutorials for JQuery A web designer always needs some inspiration and learning on all aspects of the “web process”. 22 Outstanding CSS3 Buttons Tutorials CSS3 is changing how we build websites. LESS « The Dynamic Stylesheet language. Browser Support for CSS3: What’s the Current Status? Creating a website with HTML5 and CSS3 without having to worry about using techniques like progressive enrichment and polyfills is the ultimate dream for modern-day front-end developers.

But unfortunately, mainly because of the widespread use of IE6-8, that is still just a distant dream. But it is getting closer. I thought it would be a good idea to summarize where CSS3 stands as far as browser support goes, so you can feel comfortable making decisions about what to use or abuse when incorporating CSS3 into new projects. This outline will be divided up into sections beginning with the safest CSS3 features to use, and going down the list towards the not-so-safe. First: IE6, IE7, and IE8 As many of us know, with respects to CSS3 support, the only real problem browsers are older versions of IE. The only properties and features supported by IE6-8 are: There are other ways to get pre-IE9 versions of IE to mimic certain aspects of CSS3. CSS3 Features Supported by All Modern Browsers Conclusion. 25 Super Web-based HTML & CSS Tools. HTML and CSS are the two most commonly used languages on the web.

While it may not be the most advanced form of web development, every website made in the past decade uses both languages. Needless to say, there’s a lot to learn here, but that doesn’t mean tools can’t help. We’ve compiled a super list of super tools to take your markup from mediocre to macho. As of now, HTML5 and CSS3 specifications are frequently changing. The markup you generate today may not work in tomorrow’s browser (but you’re generally pretty safe).

CSS3 Please CSS3 Please! With all the browser-specific CSS3, it’s no doubt that anyone would get tired of having to essentially re-write a slightly modified line of code to accommodate just one browser. css3please takes care of this trouble by offering an incredibly easy way to generate proper markup to suit all browsers. CSS3.0 Maker CSS3.0 Maker This is one more great CSS3 markup generator. BonBon Buttons BonBon Buttons Ultimate CSS Gradient Generator CSS Typeset CSS Typeset. Adapt.js - Adaptive CSS. 25 CSS Snippets for Some of the Most Common and Frustrating Tasks. In this post we have 25 CSS snippets and hacks that will solve many of the most frequently used and, at times, frustrating CSS development tasks. Why reinvent the wheel when there are already plenty of time-saving pre-written CSS code snippets? As well as some classic and timeless CSS hacks you will also find many CSS3 snippets, like box-shadow, border-radius,linear-gradient and many more.

Adding shadow to text – text-shadow Helps make your text stand out from the rest. Source Adding an image-based border – border-image You can create any kind of border you want for any object(s) on your website using this. Adding shadow to borders and images – box-shadow Helps make your borders and images “pop” from the background more, giving a subtle 3D-like visual cue that it’s something separate, in the foreground, and the thing that visitors should be looking at. Adding rounded corners – border-radius Self-explanatory. Adding individual rounded corners – border-radius Adding a gradient – linear-gradient. The CSS3 Flexible Box Layout (flexbox) In Flexible height vertical centering with CSS beyond IE7 I mentioned that you can use the properties from the CSS3 Flexible Box Layout Module – flexbox – to center an element horizontally and vertically.

I’ll show how to do this along with some other examples of what you can do with flexbox. But first of all a couple of – rather big – caveats, to make you aware of them upfront: Flexbox is currently only supported natively by Gecko (Firefox) and WebKit (Safari, Chrome) browsers. For Opera and IE you can try Flexie, a JavaScript workaround. I’ve only had a quick look at it and can’t say how well it works. The flexible box layout specification will change to use other property names among other things. Flexbox basics As you might guess from its name, the flexible box layout gives us a way of creating flexible boxes.

I’ve made a quick flexible box layout demo page to show just a few things you can do (view source to see the CSS for the different examples). Notes de lecture — Livre CSS avancées, vers HTML5 et CSS3. From idea to 20k hits in 7 days - CSS Pivot. Glowform :: Image-less CSS3 Glowing Form Implementation. CSS Frameworks CSS Reset: Design From Scratch - Smashing Magazine. INTÉGRATION HTML/CSS. CSS3 properties exposed in »shadow« | css3files.com. CSS3 Generator - By Eric Hoffman & Peter Funk. CSS Modal.