Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b-page: The possibility to modify <html> tag #110

Closed
varya opened this issue Jan 3, 2012 · 3 comments
Closed

b-page: The possibility to modify <html> tag #110

varya opened this issue Jan 3, 2012 · 3 comments
Labels

Comments

@varya
Copy link
Member

varya commented Jan 3, 2012

There needs to be a possibility to modify HTML tag: to add classes and attributes (e.g. a namespace).

@narqo
Copy link
Member

narqo commented Jan 3, 2012

There are tag:, attrs:, cls: modes in BEMHTML, aren't there?

@varya
Copy link
Member Author

varya commented Jan 4, 2012

I need to modify tag [html] from another block. For example, mix it with i-ua block. Or add a fb namespace from the block about facebook.
Now tag [html] is created deeply inside b-page bemhtml template.

@narqo
Copy link
Member

narqo commented Nov 29, 2012

Fixed with #300

Basic template for <html> is

block b-page {

   elem root {

        bem: false
        tag: 'html'
        cls: 'i-ua_js_no i-ua_css_standard'

    }

}

so one could redefine it.

@narqo narqo closed this as completed Nov 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants