🌈 adding some pride to your stylesheets
UNLICENSE License
Some simple CSS gradients to add some pride to your stylesheets. Color values are slightly saturated for preference. Massively WIP.
npm install lgbtq.css --save
or from a CDN
<link
rel="stylesheet"
href="https://unpkg.com/lgbtq.css/dist/lgbtq.css"
media="screen"
title="LGBTQ.css"
charset="utf-8"
/>
Recommend you use PostCSS and postcss-import. But there's a processed file available from a CDN and in the repo.
@import "~lgbtq.css";
Class Name | Flag |
---|---|
Gay |
Gay Pride |
BiPlus |
Bisexual Pride |
Trans |
Transgender Pride |
NonBinary |
Non-binary Pride |
Asexual |
Asexual Pride |
Pansexual |
Pansexual Pride |
Queer |
Queer Pride |
GayMale |
Gay Male Pride |
Lesbian |
Lesbian Pride |
Intersex |
Intersex Pride |
GenderFluid |
Genderfluid Pride |
Agender |
Agender Pride |
Polyamorous |
Polyamorous Pride |
Omnisexual |
Omnisexual Pride |
Polysexual |
Polysexual Pride |
AroAce |
Aromantic Asexual Pride |
Genderqueer |
Genderqueer Pride |
This project uses PostCSS and postcss-cli, check out the config.
git clone https://github.com/charliwilco/lgbtq.css.git
brew install node
yarn && yarn dev
LGBTQ.css makes uses of :before
CSS pseudo selector and CSS gradients. CSS pseudo selectors have really great browser support: Chrome 2+, Safari 1.3+, Firefox 3.5+, Opera 6+ and IE 8+. CSS gradients are supported in Firefox 3+ (and 16+ unprefixed), Chrome 4+ (and 26+ unprefixed), IE 10+, Safari 4+ (6.1+ unprefixed), Opera 11.5+ (and 12+ unprefixed) and Android browsers 2.1+ (and 4.4+ unprefixed).
The processed file contains -webkit
prefixed fallbacks.
First off, you're awesome for wanting to contribute. Second, please take a second to go over a few things to make this process simpler for everyone. Third, you're awesome.
Reduced test cases are required. All bug reports and problem issues require a reduced test case. See CSS Tricks - Reduced Test Cases on why they "are the absolute, ... number one way to troubleshoot bugs." Reduced test cases help you identify the issue at hand and understand your own code. On our side, they greatly reduce the amount of time spent resolving the issue.