Search
 
SCRIPT & CODE EXAMPLE
 

CSS

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
Css :: jquery woocommerce disable add to cart css 
Css :: image transparent 
Css :: ordered list indent 
Css :: what is flex 1 in css 
Css :: before and after pseudo selectors 
Css :: css color codes 
Css :: webkit appreance none select 
Css :: letter spacing text 
Css :: format hexagonal css get 
Css :: css animation sin 
Css :: css changer la couleur de la sélection 
Css :: hover 
Css :: css font-family 
Css :: css change background color 
Css :: see css from site 
Css :: devextreme css 
Css :: css direct child selector 
Css :: enable xdebug ddev 
Css :: ipad pro css 
Css :: css animation left to right infinite codepen 
Css :: eliminate render-blocking resources css 
Css :: box-sizing 
Css :: what is padding in css 
Css :: css variables not working 
Css :: css hide after seconds 
Css :: how to use the display property 
Css :: css class inheritance 
Css :: mouse hold css effect 
Css :: css button remove border 
Css :: html css form validation 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =