Every day new standards of CSS3 and HTML5 enter more deeply into the life of web designers and web developers, and the browsers are becoming more compatible with these standards.
In connection with this event we would like to present you a selection of 10 buttons of CSS3 that will make your life easier during the layout and creation of the web applications.
Units of length are two categories: absolute and relative.
Absolute units include:
• inches (in)
• centimeters (cm)
• millimeters (mm)
• points (pt)
• pica (pc)
In the terms of CSS’ specification: 1pt = 1/72in and 1pc = 12pt.
In the property of font-size specification of negative value in units of length, for example: 25cm is unacceptable.
Why Absolute? Because they represent a real value in the physical world – standards.
These units work with the mechanism of output, which has an actual physical size, for example: printing, we will use such units.
But those units have no meaning for the monitors, there is certain conditionality, but it's really just conditionality.
Relative units include:
• em (font-size)
• x-height (ex)
• px (pixels)
When it comes to the font rendering on the Web, the designer cannot do much. For example, how the font looks on the screen. For the most part, it depends on the operating systems, browsers, typefaces’ design, font files, and on whether these files are supplemented by the instructions for the most unexpected scenarios of the rendering. But sometimes the CSS properties can affect how the font looks like.
Note: the screenshots shows the font rendering in Safari 5 on MakOsi 10.6.
Slight changes of the font size can greatly affect the appearance of the typeface
First of all, there is the property of font size. Rasterization of vector contours for the font sizes that adequate to the modern screens means that each letter is represented by only the handful of pixels. Therefore, a small difference in the font size can greatly affect the appearance of the typeface.
There are interesting facts about the life cycle of periodical cicadas. Usually, we do not see around a lot of these insects, because most part of their life they spend under the ground and gently suck the plant roots.
However, depending on the type every 7, 11, 13 or 17 years, periodical cicadas simultaneously crawl out together to the light and they turn into the noisy flying creatures, mate and die soon.
Although our strange cicadas cheerfully go into another world, here arises the obvious question: is it just coincidence or the numbers 7, 11, 13 and 17 some special?
It turns out that these numbers have something in common. They are all prime numbers that are divisible only by themselves and by one (it's 1, 2, 3, 5, 7, 11, 13, 17, 19, 23 and so on).