All Projects → pomber → full-width-text

pomber / full-width-text

Licence: other
Web component for making the inner text fit the width of the element

Programming Languages

HTML
75241 projects

<full-width-text>

Makes the inner text fit the width of the element

Demo

https://pomber.github.io/full-width-text/

Install

Install the component using Bower:

$ bower install full-width-text --save

Usage

  1. Import web components' polyfill (if needed):
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
  1. Import element:
<link rel="import" href="bower_components/full-width-text/full-width-text.html">
  1. Use it:
<full-width-text>Lorem Ipsum</full-width-text>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].