Style for readablility
Properties that can used on tables
Target to improve the design and readability
Difficult to style
Properties to use
Submit buttons
cursor: (auto, crosshair, default, pointer, move text, wait, help)
Cursor styles
<video> tag
<video src="video/myvideo.mp4"
poster="images/puppy.jpg"
width="400" height="100"
preload
controls
loop>
</video>
<video> tag
<video poster="images/puppy.jpg"
width="400" height="100">
<source src="videos/video.mp4" type='video/mp4;codecs="avc1.42E01E. mp4a.40.2"'/>
<source src="videos/video.webm" type='video/webm;codecs="vp8.vorbis"'/>
</video>
<video> tag
Resources for embedding multiple files
<audio>
<audio src="audio/mysound.ogg" controls autoplay>
MP3- Safari 5+, Chrome6+, IE9
Ogg- Firefox 3.6, Chrome 6, Opera 1.5
Steps:
1. Set the viewport using the meta tag in the head tag:
<meta name="viewport" content="device-width, initial-scale=1">
2. Create a "fluid" layout in CSS. Use ems for font-size
3. Add media queries in your CSS doc to add "break-points"
Common breakpoints
320px
480px
600px
768px
1024px
Media query:
@media (max-width: 480px) {
h1{
font-size:.75em;
}
}
Media query:
@media (min-width: 768px) and (max-width: 979px) {
h1{
}
}
Text