Forums

  • # January 26, 2013 at 11:16 pm

    Is there a way i can target a class-less or id-less tag? specifically a paragraph tag?

    # January 26, 2013 at 11:23 pm

    yes, but you’d have to give an example b/c the solution will definitely vary based on context.

    # January 27, 2013 at 12:21 am

    @attilahajzer, it is better not to over specify class such as

    .text p {your styles}

    but use instead generic class like:

    .text-something {your styles}

    HTML

    My text

    That way you can reuse that class with other elements if necessary

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

You must be logged in to reply to this topic.

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