Search
 
SCRIPT & CODE EXAMPLE
 

CSS

install tailwind with cdn

<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.0.2/tailwind.min.css" rel="stylesheet">
Comment

Using tailwind via CDN

<!-- add it to the head section of the html file -->
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
      rel="stylesheet">
Comment

How to install tailwind cdn

<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
  <h1 class="text-3xl font-bold underline">
    Hello world!
  </h1>
</body>
</html>
Comment

Using tailwind via CDN

<!-- Write HTML code here -->
<!DOCTYPE html>
<html lang="en" dir="ltr">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport"
              content="width=device-width,
                       initial-scale=1.0" />
        <title>Tailwind CSS</title>
        <link rel="stylesheet"
              href="./style.css" />
    </head>
    <body>
        <!-- font size -->
        <h1 class="text-lg">Large font size</h1>
        <!-- font weight -->
        <h1 class="font-bold">Bold fond weight</h1>
        <!-- Typography -->
        <h1 class="tracking-widest">Spacing between words</h1>
        <!-- Transform -->
        <h1 class="uppercase">Uppercase word</h1>
        <!-- line height align color background
              width padding margin border opacity shadow-->
        <div class="leading-9 text-right
                    text-red-700
                    bg-red-500 w-1/2 h-1/3 p-5 my-10
                    border-t-2
                    border-solid
                    border-green-500
                    opacity-40
                    shadow-2xl">
             
<p>GeeksforGeeks</p>
 
        </div>
        <!-- focus pseudo class -->
        <input class="border focus:border-red-500
                      focus:outline-none p-5 m-5
                      placeholder-red-500"
               type="text"
               name=""
               value=""
               placeholder="name" />
        <!-- layout -->
        <div class="md:flex md:flex-wrap m-5">
            <div class="bg-blue-500
                        p-5 md:w-1/3
                        md:bg-pink-600">
              GeeksforGeeks
          </div>
            <div class="bg-teal-500 p-5 md:w-1/3">
              GeeksforGeeks
          </div>
            <div class="bg-yellow-500 p-5 md:w-1/3">
              GeeksforGeeks
          </div>
        </div>
    </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Css :: border css 
Css :: css nested 
Css :: padding left 
Css :: css height property 
Css :: para que sirve justify-content-center 
Css :: hamburger icon css3 
Css :: flip something css 
Css :: css border with 8 values 
Css :: css transitions 
Css :: css push div down 
Css :: vue scoped css child component 
Css :: img transparent 
Css :: css make border rotate around element 
Css :: img grows up onmouseover css 
Css :: take out side bar in css 
Css :: mixed-blend-mode css all properties 
Css :: in 10 seconds fade in a card html css 
Css :: display inline 
Css :: offsetx and offsety in css 
Css :: dict to sql python 
Css :: blue gradient 
Css :: css a little transparent 
Css :: bootstrap-navbar-containers 
Css :: === git ignore 
Css :: modern css reset 
Css :: boxsizing 
Css :: css variables not working 
Css :: css :is 
Css :: advance css 
Css :: symfony app css not working 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =