Need Help About Asterisk Symbol in CSS.

Discussion in 'HTML & Website Design' started by bijutoha, Feb 5, 2015.

  1. #1
    Hello, sorry for bothering you. Anyone say something about Asterisk Symbol [*] in CSS. Why is it used?
     
    bijutoha, Feb 5, 2015 IP
  2. TomHayes

    TomHayes Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    * selects all elements.

    * can also select all elements inside another element, so for example:

    div * {
    color: red;
    }

    Will change all elements inside div's color to red.
     
    TomHayes, Feb 5, 2015 IP
  3. LTheme

    LTheme Greenhorn

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    The use of symbols [*] in the css to make choosing the elements of content as quickly as possible
     
    LTheme, Feb 27, 2015 IP