Skip to main content
11 events
when toggle format what by license comment
Jul 16, 2017 at 16:17 vote accept Bill Wentworth
Jul 16, 2017 at 16:04 comment added Bill Wentworth But if there was a another container class in my site I would also be targeting that as well with just .container{} but header.container{} would exclusively target that one, correct? I will leave you positive feedback :)
Jul 16, 2017 at 16:00 comment added Praveen Kumar Purushothaman .container or header.container
Jul 16, 2017 at 15:59 comment added Bill Wentworth Oh, ok. so <header class="container"> would be header.container{}
Jul 16, 2017 at 15:54 comment added Praveen Kumar Purushothaman @BillWentworth In your case, you can also use nav.twelve-col.col.main-menu
Jul 16, 2017 at 15:53 comment added Praveen Kumar Purushothaman @BillWentworth It's not .nav. but it's just nav. for Tag Selectors. . is used for classes and # is used for ids.
Jul 16, 2017 at 15:52 comment added Bill Wentworth ok so it wouldnt be .nav.twelve-col.col.main-menu {
Jul 16, 2017 at 15:52 comment added Bill Wentworth Sorry, refresh the page - I was editing - sorry
Jul 16, 2017 at 15:51 comment added Praveen Kumar Purushothaman If it says what? :) I mean, what do you mean? Both are same no?
Jul 16, 2017 at 15:51 comment added Bill Wentworth Ah, i see. Now does it matter in the css if it says <nav class="twelve-col col main-menu"> or <div class="twelve-col col main-menu">
Jul 16, 2017 at 15:49 history answered Praveen Kumar Purushothaman CC BY-SA 3.0