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

:host styles not rendering #1057

Closed
sclearion opened this issue Dec 29, 2014 · 1 comment
Closed

:host styles not rendering #1057

sclearion opened this issue Dec 29, 2014 · 1 comment

Comments

@sclearion
Copy link

Following the exact instructions on the 'Step 2: Creating your own element' page of the main site, any styles defined in the :host tag do not render at all. Code using is shown below:

:host {
display: block;
position: relative;
background-color: white;
padding: 20px;
width: 100%;
font-size: 1.2rem;
font-weight: 300;
}

The code above does not change the background color to white or apply the padding. How can I work around this?

@sclearion
Copy link
Author

had wrong version of polymer installed via bower

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant