Simple CSS library for simlated FRC blue banners (typically presented to teams upon receiving a competition award).
This framework allows for three different types of banner markup:
To define a group of banners:
- Create a
<ul>
with the class ofbanners
. Each<li>
in the list will be turned into a banner. - OPTIONAL: Insert an
<img>
at the starting of each<li>
with thesrc
pointing to thefirst.svg
file included in this repository. This will put a FIRST logo on the banner. This can be done for all three methods of declaring a banner. - Fill the rest of each
<li>
with the name of the award. Well, technically, you can put any content you want in it. But the name of the award is probably best.
Repeat the above process, except instead of defining a <ul>
with <li>
s as children, define one <div>
with the class of banner
. Treat this like you would a <li>
in the process above.
Repeat the first process exactly, however with one extra step: enclose the <ul>
with a <div>
with the class banner-parent
. This will cause the row of banners to expand to fill the whole width of the screen, and any extra banners will be visible by scrolling to the side.
- See
example.html
- Team and Team History pages on The Blue Alliance
- Team 1418's website
- Team 1257's awards page
- Team 3492's about page
If you use this framework on your own project, feel free to open a pull request to add it to this list!
Created by Erik Boesen. To ensure future maintenance, control is vested in Team 1418, for whose website the library was originally developed.
This software is protected under the MIT License.