Exercises For TAILWIND CSS
Exercises For TAILWIND CSS
Code boilerplate :
<div>
<h1>Tailwind CSS ❤</h1>
<p>
Tailwind CSS is basically a utility-first CSS framework for
rapidly building custom user interfaces. It is a highly
customizable, low-level CSS framework that gives you all of the
building blocks you need to build bespoke designs.
</p>
</div>
1
Exercise for Tailwind
Output :
Code boilerplate :
2
Exercise for Tailwind
<main class="m-4">
<img src="https://cdn.wallpapersafari.com/21/76/v26KTO.jpg" alt="RDJ"
class="rounded-2xl transition-all duration-200" />
<section>
<p class="font-bold my-3">Robert Downey Jr. is an American actor and
producer. His career
has been characterized by critical and popular success in his youth,
followed by a period of substance abuse and
legal troubles, before a resurgence of commercial success later in his
career.</p>
<button class="bg-black text-yellow-300 py-2 px-4 rounded-md font-
bold transition-all duration-300">Visit
Instagram</button>
</section>
</main>
● Margin left and right both to 1.25rem(20px) for “640px and larger than that”
3
Exercise for Tailwind
4
Exercise for Tailwind
Solutions
Exercise 1 :
Exercise 2 :
5
Exercise for Tailwind