background preloader

Css

Facebook Twitter

Useful Tools to Speed up your CSS and HTML Coding Time. Before we jump straightaway into the topic of speeding up the CSS and HTML Coding Time, let us know what is CSS and HTML. CSS or Cascading Style Sheets is the most common application by which a web page can be designed. HTML or Hypertext Markup Language is the language that is used to program various websites. Now, we need to discuss how we can speed up the CSS and HTML coding so as to minimize the total time taken to optimize the webpage in order to increase the productivity. Let us to discuss the tools that will enhance the productivity of CSS and HTML. While creating the CSS, we need to use certain syntaxes to enhance the speed. Sass This is an extension of CSS3 which helps you to add several selector inheritance, variables, nested rules, mixins, and a lot more applications.

It is another very useful syntax which helps the CSS is several very vital functions. CleverCSS It is an advanced form of language which helps to structure the webpage in a very synchronized and formatted way. Haml. CSS background transparency without affecting child elements, through RGBa and filters. Looking at the design of most web pages today, almost exclusively all of them include some semi-transparency of elements.

However, getting the desired effect in CSS is harder than one might think. The problem If we want an element to have a semi-transparent background, and let whatever is behind it shine through, we have two options: Using CSS and opacityCreating a 24-bit PNG background image The problem with using opacity in CSS, besides the annoying syntax to cater to all web browsers, is that not only the background of the element will have transparency, but all of its child elements as well. This means that any text within will have the same opacity, which I would dare to venture is very seldom the result one wants. You can cater to this problem with creating redundant elements, some tricky CSS positioning and such, but really, it’s a mess.

The solution! Therefore, I can happily offer an alternative for you: RGBa colors. 1..alpha60 { 3. background: rgb(0, 0, 0); A little caveat 09. NOTE! CSS3 Flexible Box Layout Explained - Smashing Coding. Advertisement The flexible box layout module — or “flexbox,” to use its popular nickname — is an interesting part of the W3C Working Draft. The flexbox specification is still a draft and subject to change, so keep your eyes on the W3C, but it is part of a new arsenal of properties that will revolutionize how we lay out pages. At least it will be when cross-browser support catches up. In the meantime, we can experiment with flexbox and even use it on production websites where fallbacks will still render the page correctly. It may be a little while until we consider it as mainstream as, say, border-radius, but our job is to investigate new technologies and use them where possible. That said, when it comes to something as fundamental as page layout, we need to tread carefully.

The Display Property So what is flexbox, and why was it created? Until last year, most of us were using tables to lay out our pages. The box model worked, and in most cases it worked well. Many Problems, Many Solutions. CSS Buttons: Tutorials and examples. Creating buttons with CSS is one of the most experimented-with web design techniques around. Examples and tutorials abound. The biggest recent trend in CSS button design seems to be eliminating images, especially background images, from buttons. But there are plenty of other things designers are doing with buttons, some that do include images. Below we’ve collected more than twenty tutorials, examples, and tools for creating CSS buttons, most of which use CSS3. Included are buttons to suit virtually every design style. If you have other tutorials or examples you’d like to share, please do so in the comments! Tutorials and articles Rediscovering the button element A really helpful article discussing the button element in CSS, which is often overlooked by designers.

Beautiful CSS buttons with icon set Here’s another article that talks about how to create buttons with icons, though using span classes rather than the button element. Build kick-ass practical CSS3 buttons Pretty CSS3 buttons. 5 Cool CSS Hover Effects You Can Copy and Paste. Need a cool hover effect for something on your site? Look no further! We’ve created several custom examples that you can view live for inspiration. If you like the effect, steal it! We’ve got the CSS ready and waiting for you to copy. Bring Your Boring Site to Life Hover effects can make your site feel much more dynamic and alive.

The effects we’ll be using today all use code that is supported by modern browsers, meaning of course Mozilla and Webkit for the most part. Bump Up Live Demo: Click Here to Launch This works best when you have a series of horizontal items. This one is super easy to implement and there are in fact several ways to go about it. The transition here is completely optional as the effect still works quite well without it. Bump Up CSS Stack & Grow Live Demo: Click Here to Launch For this one I wanted a sort of lava lamp effect so that as you move your mouse down the list, each image slowly expands and then goes back to its original size. Stack & Grow CSS Fade Text in Conclusion. Creating a sphere with 3D CSS.

With CSS3’s 3D transforms I’ve illustrated how to build a cube and a tetrahedron. It is also possible to create a sphere-like object, albeit with many elements. 3D CSS Sphere Works in the latest Safari and iOS (just about runs on an iPhone 4). Experiment updated to support –moz now that Firefox 10 supports 3D transforms. Recently I’ve been looking at creating applicable 3D carousels. These rely on positioning panels in a circle around a central point (ie. rotation about the Y-axis), I put these panels in an unordered list. The more elements per round and the more rounds, the smoother the sphere. The biggest gains come with border radius. Playing with this I’ve built a few different styles of sphere. Also included in the experiment are versions showing a single round and another style named “contact”. Animating the border radius on all 192 panels (if your machine can cope), gives a neat kaleidoscope effect, also included in the experiment.

Code. The top 10 CSS3 techniques. The Most Important CSS3 Properties Explained. It's an exiting time for web designers. Major new browser releases are coming in very fast and with them massively extended support for CSS3. Especially Google Chrome leading the way and showing what's possible with today's technology. But more important than the parade of cutting edge properties is the fact that more and more CSS3 properties arise that have general support in all contemporary browsers. Below I will explain the most important of these. Border-Radius Probably the property with the highest level of awareness and maybe the synonym for CSS3 for some.

The radius of the quarter circles that form the corners is equally set for all four edges. With the inclusion of a slash it is possible to set the horizontal (first value) and vertical (second value) radii for the rounding of the corners separately. Compatibility border-radius is supported in all modern browsers with only Firefox 3.6 needing the -moz- prefix. Further Reading Border-Image Further reading A violet with 50% opacity. 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.

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. Interaction Design & Strategy. The Bright (Near) Future of CSS - Smashing Magazine. Advertisement This article is an excerpt from Eric Meyer’s recent book Smashing CSS1, published by Wiley in cooperation with Smashing Magazine. In this article, the focus is on what’s coming: styling techniques you’ll use in the immediate and near-term future.

From styling HTML 5 elements to rearranging layout based on display parameters to crazy selection patterns to transforming element layout, these are all techniques that you may use tomorrow, next month, or next year. With partial browser support, they’re all on the cutting edge of Web design. Accordingly, be careful not to get cut!

Furthermore, a number of JavaScript libraries can extend support for advanced CSS back into older browsers, in some cases as far back as IE/Win 5.5. There are also a good many CSS enhancements available as plug-ins for popular JavaScript libraries such as jQuery. Styling HTML 5 Styling HTML 5 is really no different than styling HTML 4. But what about really old browsers, like IE6? Classing like HTML 5 How? CSS3 Tutorials to Brighten Up Your Day - Noupe Design Blog. Jan 25 2011 As we all know, a lot of complicated CSS code snippets had to be used back then when you simply wanted to achieve a rounded corner, and even had to use JavaScript for simple animations.

But since the coming out of CSS3, life has become a lot easier. In this post we provide you with a great collection you can always turn back to; whether you’re a pro and haven’t seen that particular tutorial yet, or a beginner who has newly discovered their love for CSS3. Either way, please feel free to mention tutorials that were missed out and would like to share with others. Awesome Cufonized Fly-out Menu with jQuery and CSS3 In this tutorial you can learn how to create a full page cufonized menu that has two nice features: Subtle CSS3 Typography That You’d Swear was Made in Photoshop Thanks to text shadows, outlines, transitions, and even text gradients, we can now create cool typography that you’d swear had to be made with a program like Photoshop. Advanced CSS Prettifier.