This is a small piece of code for a reusable custom element for our logo.
Go to file
Greenscreener ccb25e5302 Removed calc()s.
The magic I planned to make didn't work anyway.
2019-07-08 15:37:18 +02:00
examples.html Inital commit. 2019-07-08 15:32:11 +02:00
patekLogo.js Removed calc()s. 2019-07-08 15:37:18 +02:00
README.md Inital commit. 2019-07-08 15:32:11 +02:00

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