-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add border edge color support #2506
Conversation
…les whenever the `init` command is ran (tailwindlabs#2379) * Add --future flag to CLI * Remove early exit * Always add future flags but commented out - Update replace regex - Remove future CLI flag - Update tests
* Don't escape keyframes * Update changelog
* add col- and row- span-full utility add `col-span-full` and `row-span-full` per @flybayer in tailwindlabs#2467 (comment) * fixtures Co-authored-by: swyx <[email protected]>
f3893d1
to
55dcc53
Compare
Hey thanks for the PR! This has been discussed before and unfortunately we've decided not to include this for now. Here's an existing discussion: Maybe we'll add it one day or come up with a way to enable it optionally but for now I would recommend just using two elements to create any shapes that need a different border color on each side. |
Hi @adamwathan , I followed from tailwindlabs/discuss#46... I want to create a full-CSS arrow leveraging tailwind. PS: Maybe it can be an opt-in feature? I suggest it to be. Thanks. |
@adamwathan is this on the cards again now that the JIT compiler exists? |
Just stumbled across this because that's exactly what I was hoping to do, use different colour borders to make a CSS arrow. This seems like the exact problem the JIT engine was designed to eliminate! |
Actually just in case it helps anyone looking for a way to made a css arrow with tailwind, this did the job for me: |
I guess this is coming in #4404 now? |
This pull request introduces support to define a colour of a specific border of an element, e.g.:
would give:
I have added a unit test for the
borderColor
-plugin to test the appropriate classes get generated