Home > Software design >  Can I use both "Tachyons" and "Bootsrap 5"? [closed]
Can I use both "Tachyons" and "Bootsrap 5"? [closed]

Time:10-01

Could somebody enlight me if I can use on a project "Tachyons" and "Bootsrap 5" for CSS simultaneously? I have already create a component with "Bootsrap 5" and want to create the rest with "Tachyons".I only need a form borrowed from "Tachyons" and wondering if I try to use both types there is going to be a conflict at the end? Thank you in advance!

CodePudding user response:

Include both library will increase your page initial load time for sure.

Also, if they have used same class name for certain style, there will be problem at the end result. Which ever library include later will be used for CSS. (Tachyons seems to be really light weight, you can give it a try.)

Bootstrap 5: some experiences. Tachyons: Never used before.

CodePudding user response:

Simple answer is Yes. however, we need to know whether it is a good thing to do or not keeping in mind minification or how webpack generates a single file for this to be sent to dev.

If this is your requirement. Yes you can go with this.

Ultimately it is a CSS file where class selectors are written and you are using them for them to reflect in your code.

From the Documentation, https://tachyons.io/ we can see that it is basically a CSS file-which you have to include in your HTML page, think of this as a normal CSS file where the classes are written and you can use these classes and get the CSS reflected in your website.

I believe yes, we can use both :)

Note: Go through the documentation thoroughly and give it a try :)

CHEERS!!!

  •  Tags:  
  • css
  • Related