HTML and CSS Reference
In-Depth Information
- ms - interpolation - mode : nearest - neighbor ;
- webkit - optimize - contrast ;
width
width : 100 % ;
height
height : 100 % ;
}
:webkit-full-screen {
width
width : 100 % ;
height
height : 100 % ;
}
</ style
style >
What these styles do is force both the HTML <BODY> tag and the canvas to scale to fit the
entire screen and limit the size of the scroll bars.
See Figure 10-2 for an example of bsbingo_scaled.html in a desktop browser.
Figure 10-2. BS Bingo scaled to fit the Chrome browser
Search WWH ::




Custom Search