patek-logo-custom-element/README.md
Greenscreener ebd34d56ae Inital commit.
The next commit will remove the useless calc()s, I just wanted to keep
them for future reference.
2019-07-08 15:32:11 +02:00

19 lines
452 B
Markdown

# Pátek Logo Custom Element
Reusable custom element for the Pátek logo.
## Installation
Include the patekLogo.js file into your HTML file.
```html
<script src="path/to/patekLogo.js"></script>
```
## Usage
```html
<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