December 2013
Intermediate to advanced
480 pages
14h 11m
English
Because HTML already includes a tooltip attribute, you might be wondering why Microsoft introduced a WinJS Tooltip control. It is all about customization. Using the WinJS Tooltip control, you can create tooltips that match the style of your Windows Store app.
You can customize the appearance of the Tooltip control by modifying the win-tooltip Cascading Style Sheet class. For example, Figure 4.6 illustrates the appearance of the Tooltip control when you define the following win-tooltip style:
.win-tooltip { background-color: #ffd800; border: solid 2px red; border-radius: 15px;}
FIGURE 4.6 ...
Read now
Unlock full access