Adding Style Properties
Let's copy and paste a generic style class and its properties in the stylesheet. This style class will automatically be used to control the look of the tooltip.
How to Add Style Properties
-
Copy the following.
Copy.tooltip
{
background-color: #ffffff;
border-radius: 5px;
border-width: 1px;
box-shadow: 0 0 5px #aaa;
-webkit-box-shadow: 0 0 5px #aaa;
font-weight: normal;
height: auto;
margin-left: 20px;
max-width: 300px;
padding: 8px;
position: absolute;
z-index: 99999;
} - From the Content Explorer, expand Resources > Stylesheets.
-
Right-click Styles.css, and from the context menu select Open with > Internal Text Editor.
-
Scroll to the bottom of the editor and paste the generic style and its properties.
- Click
to save your work.