According to estimates, CSS 3 will only be approv in 2105 ;-), but we have the opportunity to enjoy many of the conveniences already in today’s browsers.
Mia Queries
Today, we can view websites on a lecche. On a PC, on a PDA, on a netbook, on a mobile phone, etc. (They can also be print, project on a screen or read by a voice synthesizer.) However, each of these devices has different technical parameters, and even between individual devices of the same type they can be significant differences. Web designers thus face the difficult task of providing each device with a web page style that takes into account its layout. For this task, however, it is first necessary to find a technology with which the type of mia and its parameters could be successfully select. Regular readers of Interval certainly did not have to search for long, as they have already become familiar with Mia Queries . Almost all major browsers (with the exception of IE) support this technology on both mobile and desktop platforms.
And those who don’t believe, can try .
New selectors
The list of CSS selectors is growing. Add three more attribute selectors and a bunch of various pseudo-classes. While most of the new selectors probably won’t see much use, some of them can still be very useful. For example, a switzerland phone number data pseudo-class :nth-child()that, depending on its parameter, which is enter in parentheses, selects the nth element, which is the “child” of its parent element, is worthy of attention . The syntax of the necessary parameter is best and most quickly understood with a few simple examples:
These examples were not chosen
Randomly, in large tables it is advisable to distinguish even and odd columns by color for better clarity, or make sure that contact information rows, and this is an excellent opportunity to use the selector :nth-child()or :nth-of-type(). Other selectors, such as check(), can come in handy once all major browsers support the Selectors API.
Browsers have already implement the bw lists design selectors (the beta version of IE9 also supports them), which we can see in the selector test , which contains a list of all CSS selectors.