HTML and CSS Reference
In-Depth Information
Figure 5-15. Box shadow
The values for box-shadow act in the same way as text-shadow , in that if you
specify negative offset values, the shadow will be rendered to the left and top of
the screen.
CSS Media Queries
CSS media queries allow you to pull in CSS styles, depending on certain
conditions. These conditions can include those shown in Table 5-3.
Table 5-3 Media Query Properties
Property
Description
Values/Options
media
The type of media for the
query
screen , print , braille ,
embossed , handheld ,
projection , speech , tty , tv ,
and other custom options
[max-|min-]width
The width of the viewport cm (for print), pixels, em
[max-|min-]height
The height of the viewport cm(for print), pixels, em
[max-|min-]device-width The width of the device's
screen (equivalent to
screen.width in JavaScript)
pixels
 
Search WWH ::




Custom Search