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

  1. 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;
    }
  2. From the Content Explorer, expand Resources > Stylesheets.
  3. Right-click Styles.css, and from the context menu select Open with > Internal Text Editor.

  4. Scroll to the bottom of the editor and paste the generic style and its properties.

  5. Click Save the active file. to save your work.