Giter VIP home page Giter VIP logo

lgbtq.css's Introduction

Screenshot of Gradients

LGBTQ.css

Some simple CSS gradients to add some pride to your stylesheets. Color values are slightly saturated for preference. Massively WIP.

Installation

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"
/>

Usage in Build

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 Names

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

Setup for LGBTQ.css

PostCSS Logo

This project uses PostCSS and postcss-cli, check out the config.

  1. Clone the repo git clone https://github.com/charliwilco/lgbtq.css.git
  2. Install Node brew install node
  3. In the root of the project run yarn && yarn dev
  4. Write some CSS

CSS

Browser Support

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.

Contributing

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.

Pull Requests

  • Fork this repo.
  • Push to your fork and submit a pull request.
  • Please provide a short explanation of why you made the changes you made.

Issues

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.

  • A reduced test case is an isolated example that demonstrates the bug or issue.
  • It contains the bare minimum HTML, CSS, and JavaScript required to demonstrate the bug. No extra functionality or styling.
  • A link to your site is not a reduced test case.
  • A JSBin or CodePen is preferred so we can help you fix an error.

lgbtq.css's People

Contributors

charliewilco avatar herrlevin avatar dependabot[bot] avatar npmcdn-to-unpkg-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.