TailwindCSS

Support General TailwindCSSResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #19226
    Robert WilsonRobert Wilson
    Participant

    I've noticed in a few of the demonstration videos, that TailwindCSS is being used to style some of the elements. Is TailwindCSS included in MetaBox the same way that Twig has been included? Or would I have to add TailwindCSS to my theme to be able to use it inside the MetaBox Views plugin, for example?

    #19231
    Anh TranAnh Tran
    Keymaster

    Hi Robert,

    TailwindCSS is not included in MB Views. We use it in the video for building the HTML quickly (otherwise, we have to write a lot of CSS). You can use any theme, any CSS framework with MB Views. Think like MB Views provides you the HTML only.

    #27289
    kevin@simpleseo.biz[email protected]
    Participant

    Hi Anh,

    Do you have tutorial or process you used to use tailwindcss with metabox views?

    Thanks!

    #28394
    Joseph ShrockJoseph Shrock
    Participant

    What would be the easiest way then to get TailwindCSS working in MetaBox views - can we just drop in some code or pull in a cdn-url in the "CSS tab" of views perhaps? An example provided would be very helpful, please?

    #28412
    Long NguyenLong Nguyen
    Moderator

    Hi guys,

    To use the Tailwind CSS in View, you just need to add a <link> tag with the CDN link to the Template Editor. For example:

    <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">

    Screenshot https://share.getcloudapp.com/2NuqYe5L

    Get more details on their docs https://tailwindcss.com/docs/installation#using-tailwind-via-cdn

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.