Forums

Give help. Get help.

  • # April 19, 2013 at 1:21 pm

    I have run into the following style:

    .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { background-color: #bc6d30; *background-color: #e69656; }

    Notice toward the end there is an asterisk before the second notation of background-color and the color is different. Can anyone explain why the asterisk is there and what it does and why I would need it?

    Thanks.

    # April 19, 2013 at 1:48 pm

    Hmm, that’s interesting. There are several other styles with the asterisk beside an attribute in that style sheet. I believe the style sheet was made with SASS, could that have anything to do with it?

    # April 19, 2013 at 1:50 pm

    Ah, that makes sense. Thank you. It did have me puzzled.

    I knew this was the place to come for answers!! ;)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag