AGENDA
- Layouts
- Media queries
- CSS Regions
- CSS Shapes
- Flex Box
- Fonts
- Filters
- Other interesting additions
- Questions
Media queries
@media all and (max-width: 699px) and (min-width: 520px) {
#sidebar ul li a {
padding-left: 21px;
background: url(../images/email.png) left center no-repeat;
}
}
Whats new?
- device-width
- orientation (portrait or landscape)
- color
Creating regions
.Region1{
flow-into: text-flow;
}
.Region2{
flow-from: text-flow;
}
Creating Shapes
.inclusion{
shape-inside: circle(0px, 0px, 100px);
}
.exclusion {
shape-outside: circle(0px, 0px, 100px);
}
Flex properties
- flex-direction
- flex-wrap
- justify-content
Typekit
- Great quality fonts without use of imagery
- Browser compatibility and consistency
- CDN caching
- Optimized for the web and automatically improved performance as browser technology evolves
Relative font size
REM - Resize independent of the container
Other additions
- Blend Modes
- Css Animations
- Scalable vector graphics
- Html Canvas
Have you seen wonderland?
Acknowledgements
- http://html5.adobe.com
- http://slides.cjgammon.com/
- http://bennettfeely.com/flexplorer/
- http://codepen.io/collection/qFesk
- http://www.adobe.com/devnet/html5/articles/css-filterlab.html
- http://sarasoueidan.com/blog/css-shapes/