Content video, audio, and canvas tags Input Specify placeholders, min, max, autofocus, and regex validation. Also, input types for email, url, date and time. Data Attributes Add meta-data to elements without toggling classes and the like.
screen-width, type of screen, and more. Scoped Styles Use <element><style type=”text/css” scoped=”scoped”> ... to limit a style to a parent element. CSS calc() Evaluate expressions in CSS to calculate mixed-unit values. For example, width: calc(50% - 40px); *, :not, nth-child, last-child, cycle Match all, anything but, an n-th element, a final element, or just cycle through CSS properties.
starter code from github.com/ryhan/bounce 2. Open up index.html in Chrome, and bounce.CSS in a text editor. 3. Try adding another keyframe to the animation in bounce.CSS
Outline box-shadow: 0 0 5px color 1; Linear & Radial Gradients background: -linear-gradient( top, color 1, color 2); Box-sizing: border-box; Width attribute takes into consideration padding and borders.
Google Web Fonts and Typekit. text-shadow Make text appear to be carved/pressed-in. text-shadow: [xOffset] [yOffset] [shadow color]; text-overflow: ellipsis; word-wrap: break-word;
code from github.com/ryhan/Calculator 2. Open up index.html in Chrome, and calculator.CSS in a text editor. 3. Try changing the button colors, particularly the yellow button (.button.alt)
of user-interface scripts. MathML XML format for embedding LaTeX style equations in HTML. APIs Accelerometer API, Camera API, File API, Geolocation, Speech, and much more.
strings. Unlike cookies, data isn’t included with server requests. WebSQL Supported by Chrome & Safari, Mozilla won’t implement indexeddb Supported by Firefox and Chrome, but not Safari.