This is a small piece of code for a reusable custom element for our logo.
The original bug is only visible in scaled variants - <patek-logo style="font-size: 100px;"></patek-logo>. |
||
---|---|---|
examples.html | ||
LICENSE | ||
patekLogo.js | ||
README.md |
Pátek Logo Custom Element
Reusable custom element for the Pátek logo.
Installation
Include the patekLogo.js file into your HTML file.
<script src="path/to/patekLogo.js"></script>
Usage
<patek-logo title="<your title here>" subtitle="<your subtitle here>"></patek-logo>
If no title
or subtitle
attribute is set, it defaults to "Pátek"
and ""
respectively.
The logo will obey all CSS rules.
Examples
You can find examples in examples.html.