Search
 
SCRIPT & CODE EXAMPLE
 

HTML

card tailwind css

<div class="max-w-sm rounded overflow-hidden shadow-lg">
  <div class="px-6 py-4">
    <div class="font-bold text-xl mb-2">The Coldest Sunset</div>
    <p class="text-gray-700 text-base">
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil.
    </p>
  </div>
  <div class="px-6 pt-4 pb-2">
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#photography</span>
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#travel</span>
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#winter</span>
  </div>
</div>
Comment

Tailwind CSS "Cards"

<!-- CSS https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.1.2/tailwind.min.css -->

<figure class="md:flex bg-gray-100 rounded-xl p-8 md:p-0">
  <img class="w-32 h-32 md:w-48 md:h-auto md:rounded-none rounded-full mx-auto" src="/sarah-dayan.jpg" alt="" width="384" height="512">
  <div class="pt-6 md:p-8 text-center md:text-left space-y-4">
    <blockquote>
      <p class="text-lg font-semibold">
        “Tailwind CSS - единственный фреймворк, который я видела масштабируемым в больших командах. Его легко настроить, адаптировать к любому дизайну, а размер сборки крошечный.”
      </p>
    </blockquote>
    <figcaption class="font-medium">
      <div class="text-cyan-600">
        Сара Даян
      </div>
      <div class="text-gray-500">
        Штатный инженер, Алголия
      </div>
    </figcaption>
  </div>
</figure>
Comment

tailwind cards

<div class="max-w-sm rounded overflow-hidden shadow-lg">
  <img class="w-full" src="/img/card-top.jpg" alt="Sunset in the mountains">
  <div class="px-6 py-4">
    <div class="font-bold text-xl mb-2">The Coldest Sunset</div>
    <p class="text-gray-700 text-base">
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil.
    </p>
  </div>
  <div class="px-6 pt-4 pb-2">
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#photography</span>
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#travel</span>
    <span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">#winter</span>
  </div>
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: display observable in html angular 
Html :: html heading tag 
Html :: vue if 
Html :: ubuntu 17.10 vmware 
Html :: badge 
Html :: HTML JWB 
Html :: add output buffering to cagefs 
Html :: how to create a blank page with js 
Html :: laravel route global constraints 
Html :: how to link an javascrit to an html fle grepper 
Html :: ionic1 disable tab 
Html :: access wireshark through powershell ps1 
Html :: left icon with primng 
Html :: django html 3.2.4 background image not working 
Html :: netlify 11ty build configuration 
Html :: nigeria naira code 
Html :: disable suggestion input html yii2 
Html :: difference between index, follow or follow 
Html :: pre-fill the input with the default domain 
Html :: html a tag not closing 
Html :: show image inside table with innerhtml 
Html :: bootstrap dropright overflow issue 
Html :: vuetify html tag lang 
Html :: how to make my html website resize a iphone 
Html :: ms crm aadhar number validation javascript 
Html :: awesome cheatsheets 
Html :: xpath alt contains 
Html :: Using the id attribute 
Html :: doc file reader html 
Html :: CAMBIAR COLOR AA UN ICON SGV EN HTML 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =