Alert Box?



  • Can anyone share the css tag for the Alert box? I want to change the color of the box, and alert title.


  • Moderator

    The full HTML/CSS is as follows:

    // This is the box that shows up at the very top, defined as a "notification alert"
    <div>
      <div>
        [TITLE]
        <br />[MESSAGE]
      </div>
    </div>
    
    // This is the pop-up in the middle of the screen, defined as a regular "alert"
    <div>
      <div>
        [TITLE]
        <br />[MESSAGE]
      </div>
    </div>
    

    Note that the effect listed in the first '<div>' changes with the specific effect you set it to.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.