background preloader

Code Beautifier: CSS Formatter and Optimiser

Code Beautifier: CSS Formatter and Optimiser
Related:  CSS3

How to speed up your website Speed Up your Website Speeding up your website, or in other words “reducing the load time”, is very important as you read in the into. User experience is much better when a page loads fast.Search engines like fast loading pages. With my old website Weethet.nl the load times a very fast. Why? Well … there is absolutely nothing fancy going on there as it was developed back in the year 2000. My new website, Tweaking4All, is significantly more complex: more JavaScript, more CSS, etc. Basics First I will not go too deep in the following basic rules, since most web developers already know these basics. The basic steps involve the reduction of your files and file sizes. Compress JavaScript and CSS files For CSS and JavaScript you will find quite a few tools out there that can minimize or compact your files. Optimzing goes (basically) in two steps: Removing redundant statements, comments or variables.Removing redunant characters (like spaces, tabs, semi colons, empty lines, etc) Use CSS instead of images

CSS3 properties accurately explained | css3files.com CSS Analyser Contents Translations Spanish Version About this Service This service has been provided to allow you to check the validity of your CSS against the W3C's validation service, along with a colour contrast test, and a test to ensure that relevant sizes are specified in relative units of measurement. A special thank you to Roberto Scano who suggested extending the service to incorporate the validation of CSS, and validating units of measurement. [Back to the contents] Colour Contrast Guideline 2.2 of the Web Content Accessibility Guidelines 1.0 requires that foreground and background colour combinations provide sufficient contrast when viewed by someone having colour deficits, or when viewed on a black and white screen. This page is provided to allow you to check the contrast of two colours using the W3C's colour contrast algorithm. Units of Measurement Guideline 3.4 of the Web Content Accessibility Guidelines 1.0 suggests using relative rather than absolute units for style sheet property values.

Ten more CSS tricks you may not know Our article, Ten CSS tricks you may not know has proven to be such a success that we decided it was time to offer you ten more CSS tricks that you may not know. 1. Block vs. inline level elements Nearly all HTML elements are either block or inline elements. The characteristics of block elements include: Always begin on a new line Height, line-height and top and bottom margins can be manipulated Width defaults to 100% of their containing element, unless a width is specified Examples of block elements include <div>, <p>, <h1>, <form>, <ul> and <li>. Begin on the same line Height, line-height and top and bottom margins can't be changed Width is as long as the text/image and can't be manipulated Examples of inline elements include <span>, <a>, <label>, <input>, <img>, <strong> and <em>. To change an element's status you can use display: inline or display: block. 2. padding: 2em; border: 1em solid green; width: 20em; width/**/:/**/ 14em; 3. 4. IE has a rather strange way of doing things. 5. 6. 7.

TextFixer.com - Webmaster Online HTML tools for fixing, changing and manipulating text and html. 3 Simple .htaccess Rules For Better Website Performace .htaccess is the directory-level configuration file that allows us to adjust some sever configurations. Using .htaccess file effectively can increase website performance. In this article, we’ll see some simple rules for .htaccess file, that will make your website load faster! Disable Etags Entity tags (ETags) are a mechanism that web servers and browsers use to determine whether the component in the browser’s cache matches the one on the origin server. According to Yahoo! So, to disable ETags with .htaccess file, just put the following line into it: Header unset ETag FileETag None Add Expires Headers The expires headers tells the browser to store website’s components (images, scripts, flashs, etc.) in browser’s cache until they expire (defined by value of the expires header). There’re several ways to define expires headers using .htaccess. Header set Expires "Tue, 16 Jun 2020 20:00:00 GMT" If you want to add expires headers for some file types only, use the following code: <FilesMatch ".

CSS button, 110 best! Tired of turning upside down the internet and not finding what you’re looking for? Well, here we’re providing you the best of our CSS buttons search. Here you’ll find over 100 buttons, among pure CSS and image + CSS made. All of them great looking, with neat effects and really easy to include them in your code. Some people says there’s nothing new under the sun, however, we can always come up with new and exciting ways of apply and use things we already have, so the results will be a mind blower. btn_example{ display: inline-block; padding: 10px 20px; background:#066; border: 1px solid #f3f3f3; you’ll enhance hugely your button. There are many advantages to using CSS only buttons, as no images need to be downloaded, buttons expand to fit any amount of text and it’s easy to alter the size, colour and effects. BonBon Buttons The goal was to create CSS buttons that were sexy looking, really flexible, but with the most minimalistic markup as possible. TypeKit CSS Buttons Pure CSS 3D Button

webdev.stephband.info Download git clone github.com/stephband/jparallax Instantiation jQuery( '.parallax-layer' ).parallax( options ); What does jquery.parallax do? jParallax turns nodes into absolutely positioned layers that move in response to the mouse. With a bit of CSS you can either set up windows to see these layers through, or leave them free to roam about. The diagram on the right illustrates what jParallax does to the html: and here's a demonstration with some images: More demos demos/index.html demos/stalkbuttons.html - multiple parallax. demos/remotecontrol.html - parallax by remote control. demos/thumbnails.html - beautiful interactive thumbnails. demos/target.html - demonstrates how smoothly jParallax handles window resizing. Using jParallax The default behaviour of jParallax is to show the whole width of a layer in response to the mouse travelling the whole width of the mouseport. There are various ways to style jParallax effectively. Options Layer Options Events

Similar tool for Beautfy and Minify CSS by jamesmalvi Sep 20

Related:  Online Web Toolsolgazhilkova