Game Development Reference
In-Depth Information
the window is resized. This way a web page can be responsive , meaning that it re-
sponds immediately to any changes in its environment that causes any media query
to become valid.
A brief definition of these modules will follow, but a more in-depth discussion, along
with usage examples, can be found in subsequent chapters as each model is added
to our games.
Style attributes
Within the style attributes module , we can subdivide the features into smaller mod-
ules that deal with custom fonts, text effects, other effects, and animation.
Attribute
Definition
This specifies how much to round each corner or a box
border-ra-
dius
This specifies an image to render over the border of a box
border-im-
age
box-shadow This specifies the direction and size of a drop shadow relative to a
box
This specifies the size of a background image
background-
size
This specifies the offset position of background images
background-
origin
Search WWH ::




Custom Search