background preloader

CSS.MaxDesign - CSS Tools & Tutorials

CSS.MaxDesign - CSS Tools & Tutorials

CSS ShortHand Property Cheat Sheet digg Shorthand properties can be used to set several properties at once, in a single declaration, instead of wasting your precious time and space making declaration for each individual property. With css shorthand we make our code less complicated and more readable for those who want to explore it. Unfortunately, quite a few shorthand properties are available, that`s why we`ve collected most useful and most used for you. But be careful shorthand declaration is effective when condensed correctly, sometimes it can bring surprises. We hope that today`s freebie come in handy. Got any handy hints and tips related to CSS shorthand? Enjoy and Good Luck! Object Oriented CSS · stubbornella/oocss Wiki CSS Tip: Get Any Font You Want CSS Tip: Get Any Font You Want by Larisa Thomason, Senior Web Analyst, NetMechanic, Inc. Have your heart set on using a particular font on your site? You may think your online video sales Web site won't be complete without the "Showtime" font. But what if your visitors' browsers don't have Showtime installed and default to Times Roman instead? If your page requires an unusual font, you can embed it with a Cascading Style Sheet (CSS). Why Use Embedded Fonts? Because a font is an operating system resource, not a browser resource. From a page designer's perspective, this is a big weakness. That's where embedded fonts come in: with them, you don't have to worry about browsers defaulting to a more common font. Apply the font by name to your page using either the <FONT FACE> tag or the FONT-FAMILY property in CSS1. Embedding a font is a 3-step process: 1. Finding fonts is easy. Do some research first though: some designers don't allow their fonts to be embedded. 2. 3. Attaching A TrueDoc File

Erratic Wisdom Hover.css - Collection Of CSS3 Powered Hover Effects All Hover.css effects make use of a single element (with the help of some pseudo-elements where necessary), are self contained so you can easily copy and paste them, and come in CSS, Sass, and LESS flavours. Many effects use CSS3 features such as transitions, transforms and animations. Old browsers that don't support these features may need some extra attention to be certain a fallback hover effect is still in place. Licenses Hover.css is made available under a free personal/open source or paid commercial licenses depending on your requirements. Personal/Open Source For personal/open source use, Hover.css is made available under a MIT license: Use in unlimited personal applications Your application can't be sold Your modifications remain open-source Free updates Read full license Commercial For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses. Commercial License Purchase | Read full license Extended Commercial License

CSS Style Guides As we wrap up our recent poll on ordering CSS properties, it brings up the larger issue of CSS style guides. Ordering properties is just one choice you have to make that makes up a complete styling strategy. Naming is a part of it. Sectioning is a part of it. Commenting, indentation, overall file structure... it all makes up a complete CSS style guide. Let's round up some existing ones. But first... I love pattern libraries. The List I'll list some excerpts from each that I like below. GitHub GitHub CSS Style Guide → As a rule of thumb, don't nest further than 3 levels deep. Unit-less line-height is preferred because it does not inherit a percentage value of its parent element, but instead is based on a multiplier of the font-size. Google Google HTML/CSS Style Guide → Use ID and class names that are as short as possible but as long as necessary. E.g. E.g. .demo-image not .demoimage or .demo_image Idiomatic CSS Nicolas Gallagher's Idiomatic CSS → Configure your editor to "show invisibles". ThinkUp

TurboGears: Front-to-Back Web Development Color Schemes, Color Palettes, Color Theory Color in Motion Available in English and Spanish, this flash presentation presents an animated, interactive demonstration of the symbolism and emotions associated with various colors, including the best uses of these colors. Colors on the Web Color theory, color combinations, color physics, and the use of colors on web pages are discussed, and a color wheel allows users to test out what they have learned. ColorExplorer This online toolbox permits users to work with palettes in a variety of ways, creating, managing and evaluating color palettes for use in graphic or web designs. Adobe Kuler Color Scheme The Kuler color wheel allows users to experiment with various color combinations. Color Scheme Designer This web page design tool can be used to create color combinations and to visualize them, in order to determine which work well together. ColorRotate Color palettes may be browsed, created, adjusted, mixed, or blended, then viewed in 3D. Color Palette Peter Piper’s Palette Picker Mudcube EasyRGB

Test Your Browser For CSS3 Compatibility Home / CSS3 Selectors Test Is your browser compatible? After starting the testsuite it will automatically run a large number of small tests which will determine if your browser is compatible with a large number of CSS selectors. If it is not compatible with a particular selector it is marked as such. You can click on each selector to see the results, including a small example and explaination for each of tests. Because it is technically not possible to simulate certain user interactions the test is limited to selectors that are not dependant on user interactions. Start the test… The CSS Selector compatibility testsuite was the winning entry of the CSS3.info summer contest 2006.

CSS Specificity Some people are confused by CSS Specificity, especially with all of the (not-so) new CSS3 Selectors. The image below may help make sense of CSS Specificity. Download the PDF Legend: X-0-0: The number of ID selectors, represented by Sharks0-Y-0: The number of class selectors, attributes selectors, and pseudo-classes, represented by Fish 0-0-Z: The number of type selectors and pseudo-elements, represented by Plankton a la Spongebob*: The universal selector has no value +, >, ~: combinators, although they allow for more specific targeting of elements, they do not increase specificity values:not(x): The negation selector has no value, but the argument passed increases specificity CSS SpeciFISHity You can download the PDF of fishy CSS specificity here Specificity determines which CSS property declaration is applied when two or more declarations apply to the same element with competing property declarations. With CSS3 Selectors, order is even more important, as is understanding specificity: !

Pylons Python Web Framework Drag and drop table rows with Javascript Summary: This article tells you how to implement drag and drop for HTML tables in Javascript. You can download the source here and play with the demo here. Updated: now copes with multiple tables on the same page, non-drag and non-drop rows (such as headers) and embedding form elements. Also see my jQuery plug-in which does much more. There are many articles on implementing drag and drop in Javascript and many excellent frameworks and libraries that provide you with everything you need. Drag and Drop basics I won’t spend a great deal of time explaining the basics of drag and drop. The steps you need are: capture the mouse move event for the whole document so you can track where the mouse is.capture the onmouseup event for the whole document so we know when our dragged thing is dropped.add onmousedown functions for each draggable row so that we know which row is being dragged. Setting up the event handlers The onmouseup method is much more straight forward. Getting the coordinates Which rows?

CSS3 Create

Related: