background preloader

Web Design

Facebook Twitter

Udacity Nanodegree Style Guide. Message Structure A commit messages consists of three distinct parts separated by a blank line: the title, an optional body and an optional footer.

Udacity Nanodegree Style Guide

The layout looks like this: type: subject body footer The title consists of the type of the message and subject. The Type. Welcome - Polymer 1.0. Keyboard Shortcuts. Susy. 960 Grid System. YAML CSS Framework — for truly flexible, accessible and responsive websites. The Most Advanced Responsive Front-end Framework from ZURB. Bootstrap · The world's most popular mobile-first and responsive front-end framework. A Complete Guide to Flexbox.

Background The Flexbox Layout (Flexible Box) module (currently a W3C Last Call Working Draft) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word "flex").

A Complete Guide to Flexbox

The main idea behind the flex layout is to give the container the ability to alter its items' width/height (and order) to best fill the available space (mostly to accommodate to all kind of display devices and screen sizes). The W3C CSS Validation Service. JSHint, a JavaScript Code Quality Tool. Format HTML for Free. Enter your messy, minified, or obfuscated HTML into the field above to have it cleaned up and made pretty.

Format HTML for Free

The editor above also contains helpful line numbers and syntax highlighting. There are many option to tailor the beautifier to your personal formatting tastes. When do you use HTML Formatter Often when writing HTML your indentation, spacing, and other formatting can become a bit disorganized. It is also common for multiple developers to work on a single project who have different formatting techniques. Examples The minified HTML below: CSS Beautifier. Responsive Images Done Right: A Guide To <picture> And srcset. On Monday, we published an article on Picturefill 2.01, a perfect polyfill for responsive images.

Responsive Images Done Right: A Guide To <picture> And srcset

Today’s article complements Tim Wright’s article and explains exactly how we can use the upcoming <picture> element and srcset, with simple fallbacks for legacy browsers. There is no reason to wait for responsive images2; we can actually have them very, very soon3. — Ed. “Everything I’ve said so far could be summarized as: make pages which are adaptable.… Designing adaptable pages is designing accessible pages. And perhaps the great promise of the web, far from fulfilled as yet, is accessibility, regardless of difficulties, to information.”– John Allsopp, A Dao of Web Design4 Images5 are some6 of the most7 important8 pieces9 of information10 on the web11, but over the web’s 25-year history, they haven’t been very adaptable at all. Sublimetext - Sublime Text 2 - View whitespace characters. Udacity Teams.

Unicode character table. Classroom. Grunt for People Who Think Things Like Grunt are Weird and Hard ◆ 24 ways. Front-end developers are often told to do certain things: Work in as small chunks of CSS and JavaScript as makes sense to you, then concatenate them together for the production website.

Grunt for People Who Think Things Like Grunt are Weird and Hard ◆ 24 ways

Technovation Challenge México. Responsive Web Design Tips from Bootstrap's CSS. With the release of version 3, Bootstrap has gone mobile first, building on its already responsive base.

Responsive Web Design Tips from Bootstrap's CSS

HTML5 <picture> Element. Responsive design techniques are a way for developers to adapt a site layout to a wide range of devices, from desktops to iPhones, and have it consistently look sharp and load quickly.

HTML5 <picture> Element

And no responsive design solution is complete without an adequate technique for dealing with images. An ideal adaptive image strategy should do the following: Fit the screen. Most images within desktop layouts are too large to fit within the tiny screen real estate of a mobile device. An adaptive strategy needs to resize the image, via CSS or otherwise, so that it can resize into a mobile screen.Reserve bandwidth.

Current Responsive Image Solutions. Media Queries for Standard Devices. If you think responsive's simple, I feel bad for you son.

Media Queries for Standard Devices

We got 99 viewports, but the iPhone's just one. —Josh Brewer, March 10, 2010 A major component of responsive design is creating the right experience for the right device. Responsive Images: If you're just changing resolutions, use srcset. If you're implementing responsive images (different images in HTML for different situations) and all you are doing is switching between different versions of the same image (the vast majority of usage), all you need is the srcset attribute on the <img>.

Responsive Images: If you're just changing resolutions, use srcset.

Gaze upon this easy syntax: It's not just the syntax that is easy, it does a better job than <picture> with <source>s with explicit media attributes (we'll cover why in a moment). Plus it has the opportunity to be much better in the future with browser settings and browser improvements. Shorthand properties. Definition Shorthand properties are CSS properties that let you set the values of several other CSS properties simultaneously.

Shorthand properties

Using a shorthand property, a Web developer can write more concise and often more readable style sheets, saving time and energy. The CSS specification defines shorthand properties to group the definition of common properties acting on the same theme. E. g. the CSS background property is a shorthand property that's able to define the value of background-color, background-image, background-repeat, and background-position.

A List Apart: For People Who Make Websites. CSS Color Names. RGB Color Codes Chart. RGB color picker | RGB color codes chart | RGB color space | RGB color format and calculation | RGB color table RGB color picker RGB color codes chart Hover with cursor on color to get the hex and decimal color codes below: RGB color space RGB color space or RGB color system, constructs all the colors from the combination of the Red, Green and Blue colors. The red, green and blue use 8 bits each, which have integer values from 0 to 255.

Color Hex Color Codes. CSS. Cascading Style Sheets (CSS) are a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML dialects like SVG or XHTML). CSS describes how elements should be rendered on screen, on paper, in speech, or on other media. CSS is one of the core languages of the open web and has a standardized W3C specification.

Developed in levels, CSS1 is now obsolete, CSS2.1 is a recommendation, and CSS3, now split into smaller modules, is progressing on the standardization track. Ready to check - Nu Html Checker.