Pride HTML Dividers
Jun. 2nd, 2023 01:23 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Something small I thought someone here might like :)
I made some pride-themed dividers to use for bio decoration in my personal wiki. Since it's just in-line styling, it should work in Dreamwidth posts on modern browsers as well. Older browsers will show a blank divider and places that don't allow styling (like DW profile pages) will show a standard divider instead.
Six-stripe rainbow flag (shown above)
11-stripe rainbow flag
Trans
Nonbinary
Bisexual
Aromantic
Asexual
Start with this:
The flag information will go in the parentheses for "linear-gradient" seen near the end of the tag.
Before percentages:
With percentages:
I made some pride-themed dividers to use for bio decoration in my personal wiki. Since it's just in-line styling, it should work in Dreamwidth posts on modern browsers as well. Older browsers will show a blank divider and places that don't allow styling (like DW profile pages) will show a standard divider instead.
Six-stripe rainbow flag (shown above)
11-stripe rainbow flag
Trans
Nonbinary
Bisexual
Aromantic
Asexual
Start with this:
The flag information will go in the parentheses for "linear-gradient" seen near the end of the tag.
- Get the hex code for each color. If you don't have a browser color picker, you can use a site like Flag Color Codes.
- After "to bottom," paste each hex code twice in order from top to bottom. Each hex code should include the # symbol and be separated with a comma if there's another code after it.
- For an ace flag, it looks like:
- If you've done this right, your preview should give you a very blurry version of your flag. To stop it from blurring, you need to specify where each color should start and stop.
- Divide 100% by the number of stripes you have to determine your step size.
- Count the steps using the step size you found at the beginning. For a 4-stripe flag, it should be: 25%, 50%, 75%.
- You don't need to include 0% or 100% because the browser will assume it for you.
- You can include decimal places. Incrementing by 16.66% works fine for a 6-stripe flag.
- For each neighboring pair of hex codes that aren't identical, put the percentage after the hex codes but before their comma separators. Start with the lowest percentage and go up for each pair as you go down the list.
- For an ace flag, it looks like:
Before percentages:
With percentages:
no subject
Date: 2023-06-02 07:39 pm (UTC)no subject
Date: 2023-06-02 08:43 pm (UTC)no subject
Date: 2023-06-02 08:26 pm (UTC)no subject
Date: 2023-06-02 08:52 pm (UTC)no subject
Date: 2023-06-02 09:18 pm (UTC)no subject
Date: 2023-06-03 03:39 pm (UTC)no subject
Date: 2023-06-02 09:50 pm (UTC)no subject
Date: 2023-06-03 03:40 pm (UTC)no subject
Date: 2023-06-03 12:14 am (UTC)no subject
Date: 2023-06-03 03:41 pm (UTC)no subject
Date: 2023-06-03 12:34 am (UTC)no subject
Date: 2023-06-03 03:51 pm (UTC)no subject
Date: 2023-06-03 05:37 am (UTC)no subject
Date: 2023-06-03 03:51 pm (UTC)no subject
Date: 2023-06-03 09:57 pm (UTC)no subject
Date: 2023-06-08 08:14 pm (UTC)no subject
Date: 2023-06-04 07:04 pm (UTC)no subject
Date: 2023-06-08 08:18 pm (UTC)(That's a cute rainbow icon ^-^)
no subject
Date: 2023-06-05 12:57 am (UTC)no subject
Date: 2023-06-08 08:21 pm (UTC)no subject
Date: 2023-06-05 04:50 pm (UTC)no subject
Date: 2023-06-10 11:27 pm (UTC)no subject
Date: 2023-06-08 01:47 pm (UTC)no subject
Date: 2023-06-10 11:32 pm (UTC)no subject
Date: 2023-06-10 07:41 am (UTC)Thank you so much for sharing! These are so neat!
no subject
Date: 2023-06-10 11:35 pm (UTC)no subject
Date: 2023-06-10 04:26 pm (UTC)Is it okay to share these out more widely?
no subject
Date: 2023-06-10 11:39 pm (UTC)Feel free to share them! Thank you for asking :)
no subject
Date: 2023-06-19 06:50 pm (UTC)no subject
Date: 2023-07-07 08:59 pm (UTC)