1 Reply Latest reply on Nov 6, 2014 1:05 AM by jsfullr

    How can I add this css code to my project?

    jsfullr Level 1

      I know there is an easy way to do this but I can't figure it out. I want to change the default highlight color of text selection and this is the css code,. How can I add it to my edge animate site?

       

      Highlight Code:

       

      ::-moz-selection {

      background-color: #BA9EB0;

      color: #ffffff;

      }

       

      ::selection {

      background-color: #BA9EB0;

      color: #ffffff;

      }

        • 1. Re: How can I add this css code to my project?
          jsfullr Level 1

          Okay figured it out. Heres what I did:

           

          I added this line to compositionready in the stage:

          sym.$("<link rel='stylesheet' type='text/css' href='mystyle.css'>").appendTo("#Stage");

           

          Then I created a .css file with the color selection css and saved it as mystyle.css and placed the file in the folder where the animate project was stored.

           

          Working like a charm now!