Comments (2)
Hmm, this appears to be a limitation of CSS in general, not tailwind:
https://developer.mozilla.org/en-US/docs/Web/CSS/:visited
a:visited {
text-decoration-color: hotpink;
color: rgba(0, 0, 0, 0.2);
}
if you add an alpha color it is never applied, how odd.
So I just tested it in my project manually via the inspector, and sure enough, as soon as you change rgb() to rgba() it always sets the alpha to 1.
from tailwindcss.
Well there you go:
https://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/
It's a feature not a bug.
Workaround is a custom color that 'looks' like an opacity but is really a solid color (if everything is on white).
Closing as nothing further can be done here.
from tailwindcss.
Related Issues (20)
- Button reset rule leads to specificity issues with custom CSS HOT 1
- TailwindCSS Not Processing Files in Nested Directories Unless Another File in Parent Directory Requires Processing HOT 2
- `group-aria-[activedescendant=value_with_underscores]` breaks HOT 1
- When upgrading from 3.4.0 -> 3.4.1 data-[] is now less specific than `dark:` breaking change HOT 9
- Very outrageous. It is normal for me to run vite+tailwindcss locally. My code is w-[20px] h-[20px] I packaged and updated my npm package After updating the online project for an afternoon, I found that these two styles were not packaged. This is a very outrageous question HOT 1
- Is this a mistake?
- last-child:*:text-red-400 not working
- `w-full` bug, idk maybe its just me.
- Can we talk about the class sort order? [Prettier Plugin] HOT 3
- Incorrect spacing behavior in RTL HOT 1
- Position class is getting applied only at certain values (50)
- can we add new colors based on condition in plugin HOT 1
- TypeError: Cannot read properties of undefined (reading 'insertAfter') HOT 4
- Support for css variables in box shadow HOT 1
- Prettier prevents using underscores in tokens or custom properties. HOT 9
- Custom Background Image not loaded in NextJS HOT 1
- darkMode: 'class' feature not working with Tailwind CDN (v3.4.1) HOT 4
- Group hover leaks when applying to SVG defs HOT 2
- Exclude files from tailwind parsing by plugin HOT 2
- Background clip extend not applied HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.