Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

209
Views
How do you disable/remove a CDN's default css from your application?

I am integrating a date picker component in my tailwindcss app, and to do that I have to add the css and javascript CDN links. The problem now is the css gotten from the CDN is overriding my own css thereby messing up my app. Is there a way to make the css gotten from the CDN to just apply to the datepicker component?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Can't see your code but you should be able to revert the non-datepicker styles like this:

*:not(.date-picker, .date-picker *) {
  all: revert;
}

Set all properties to browser default for that element, on all elements that are not .date-picker or any descendant of .date-picker

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!