Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
[ci-skip] minor wording fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart authored Jul 12, 2016
1 parent c16f495 commit 5509184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Bower version][bower-image]][bower-url]
[![Build status][ci-image]][ci-url]

This component contains a [Polymer](https://www.polymer-project.org/1.0/)-based web component and mixin, as well as a [Sass mixin](http://sass-lang.com/). Either of these can be used to position elements off the screen in an accessible manor.
This component contains a [Polymer](https://www.polymer-project.org/1.0/)-based web component and mixin, as well as a [Sass mixin](http://sass-lang.com/). Any of these can be used to position elements off the screen in an accessible manor.

For further information on this and other D2L UI components, see the docs at [ui.valence.d2l.com](http://ui.valence.d2l.com/).

Expand Down Expand Up @@ -34,11 +34,11 @@ The `<d2l-offscreen>` custom element can now be used in your markup, the childre
<d2l-offscreen>This message will only be visible to assistive technology, such as a screen reader.</d2l-offscreen>
```

## Polymer Mixin
### Polymer Mixin

Alternatively, you can apply the offscreen styles to an existing element using the mixin.

You'll still include the web component polyfill, but instead of importing `d2l-offscreen.html`, import `d2l-offscreen-shared-styles.html`. Include it on your style block and apply the `--d2l-offscreen` mixin to any CSS selector:
You'll still include the web component polyfill, but instead of importing `d2l-offscreen.html`, import `d2l-offscreen-shared-styles.html`. Include `d2l-offscreen-shared-styles` on your style block and apply the `--d2l-offscreen` mixin to any CSS selector:

```html
<link rel="import" href="../d2l-offscreen/d2l-offscreen-shared-styles.html">
Expand Down

0 comments on commit 5509184

Please sign in to comment.