Skip to content

Commit

Permalink
Merge pull request Polymer#1682 from Polymer/relnotes-fixes
Browse files Browse the repository at this point in the history
Fixed formatting.
  • Loading branch information
Arthur Evans authored Jul 22, 2016
2 parents 9a8b3e8 + 881c09d commit 280ff9f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions app/1.0/docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ New features:

- Added support for native custom CSS properties.

To use, set `lazyRegister: true` and `useNativeCSSProperties: true` in Polymer
settings (e.g. `<script> Polymer = {lazyRegister: true,
useNativeCSSProperties: true};</script>` before importing `polymer.html`).
To use, set `lazyRegister` and `useNativeCSSProperties` to true in Polymer
settings. For example, you could insert the following script block before importing
`polymer.html`:

```
<script>
Polymer = {
lazyRegister: true,
useNativeCSSProperties: true
};
</script>
```
Enabling the feature only impacts browsers that support native custom CSS
properties (Chrome and Firefox; Safari 9+ supports custom properties, but is
Expand Down Expand Up @@ -51,7 +60,7 @@ New features:
The following use of CSS custom properties inside `@media` rules is
now supported, allowing for dynamic change of custom property values
based on screen size, etc.:
based on media features, like screen size:
```html
<style>
Expand Down

0 comments on commit 280ff9f

Please sign in to comment.