- Published on
6 Critical Skills To Create A Taiwind CSS Profile Card Design With Tailwind CSS Remarkably Well

- What is Tailwind CSS?
- The description of Taiwind CSS Profile card design ui component
- Why use Tailwind CSS to make a Taiwind CSS Profile card design ui component?
- The preview of Taiwind CSS Profile card design ui component
- The source code of Taiwind CSS Profile card design ui component
- How to make a Taiwind CSS Profile card design with Tailwind CSS?
- Install tailwind css of verion 2.2.4
- All the unility class needed to make a Taiwind CSS Profile card design component
- 67 steps to make a Taiwind CSS Profile card design component with Tailwind CSS
- Conclusion
What is Tailwind CSS?
Tailwind CSS is a utility-first CSS framework that focuses on creating personalized user interfaces quickly. It can gives you all the building blocks you are able to create personalized designs without having to fight to override irritating opinionated styles. Also, Tailwind CSS is a highly configurable, low-level CSS framework.
The description of Taiwind CSS Profile card design ui component
Taiwind components user profile card ui concept
Why use Tailwind CSS to make a Taiwind CSS Profile card design ui component?
- It can make the building process of Taiwind CSS Profile card design ui component faster and more easily.
- Enables building complex responsive layouts and components freely.
- Minimum lines of CSS code in Taiwind CSS Profile card design component file.
The preview of Taiwind CSS Profile card design ui component
Free download of the Taiwind CSS Profile card design's source code
The source code of Taiwind CSS Profile card design ui component
<div class="flex flex-col items-center justify-center min-h-screen bg-center bg-cover" style="background-image: url(https://images.unsplash.com/photo-1537565609867-73c2edb961ac?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1489&q=80);">
<div class="absolute bg-black opacity-80 inset-0 z-0"></div>
<!-- dark theme -->
<div class="max-w-3xl w-full mx-auto z-10">
<div class="flex flex-col">
<div class="bg-gray-900 border border-gray-900 shadow-lg rounded-3xl p-4 m-4">
<div class="flex-none sm:flex">
<div class=" relative h-32 w-32 sm:mb-0 mb-3">
<img src="https://tailwindcomponents.com/storage/avatars/njkIbPhyZCftc4g9XbMWwVsa7aGVPajYLRXhEeoo.jpg" alt="aji" class=" w-32 h-32 object-cover rounded-2xl">
<a href="#"
class="absolute -right-2 bottom-2 -ml-3 text-white p-1 text-xs bg-green-400 hover:bg-green-500 font-medium tracking-wider rounded-full transition ease-in duration-300">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-4 w-4">
<path
d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z">
</path>
</svg>
</a>
</div>
<div class="flex-auto sm:ml-5 justify-evenly">
<div class="flex items-center justify-between sm:mt-2">
<div class="flex items-center">
<div class="flex flex-col">
<div class="w-full flex-none text-lg text-gray-200 font-bold leading-none">Aji</div>
<div class="flex-auto text-gray-400 my-1">
<span class="mr-3 ">UI/UX Designer</span><span class="mr-3 border-r border-gray-600 max-h-0"></span><span>Cochin, IND</span>
</div>
</div>
</div>
</div>
<div class="flex flex-row items-center">
<div class="flex">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-400">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-400">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-400">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-400">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke="currentColor" class="h-5 w-5 text-yellow-400">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z">
</path>
</svg>
</div>
<div class="flex-1 inline-flex hidden items-center">
<img class="w-5 h-5" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDY0IDY0IiBoZWlnaHQ9IjY0cHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA2NCA2NCIgd2lkdGg9IjY0cHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik0zMiw3LjE3NEMxOC4zMTEsNy4xNzQsNy4xNzQsMTguMzExLDcuMTc0LDMyYzAsMTMuNjg5LDExLjEzNywyNC44MjYsMjQuODI2LDI0LjgyNmMxMy42ODksMCwyNC44MjYtMTEuMTM3LDI0LjgyNi0yNC44MjYgIEM1Ni44MjYsMTguMzExLDQ1LjY4OSw3LjE3NCwzMiw3LjE3NHogTTM4LjE3NCwzMi44NzRoLTQuMDM5YzAsNi40NTMsMCwxNC4zOTgsMCwxNC4zOThoLTUuOTg1YzAsMCwwLTcuODY4LDAtMTQuMzk4aC0yLjg0NXYtNS4wODggIGgyLjg0NXYtMy4yOTFjMC0yLjM1NywxLjEyLTYuMDQsNi4wNC02LjA0bDQuNDMzLDAuMDE3djQuOTM5YzAsMC0yLjY5NSwwLTMuMjE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ZnPg==">
</div>
</div>
<div class="flex pt-2 text-sm text-gray-400">
<div class="flex-1 inline-flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path
d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z">
</path>
</svg>
<p class="">1.2k Followers</p>
</div>
<div class="flex-1 inline-flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z"
clip-rule="evenodd"></path>
</svg>
<p class="">14 Components</p>
</div>
<button class="flex-no-shrink bg-green-400 hover:bg-green-500 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider border-2 border-green-300 hover:border-green-500 text-white rounded-full transition ease-in duration-300">FOLLOW</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- defualt theme -->
<div class="max-w-3xl w-full mx-auto z-10">
<div class="flex flex-col">
<div class="bg-white border border-white shadow-lg rounded-3xl p-4 m-4">
<div class="flex-none sm:flex">
<div class=" relative h-32 w-32 sm:mb-0 mb-3">
<img src="https://tailwindcomponents.com/storage/avatars/njkIbPhyZCftc4g9XbMWwVsa7aGVPajYLRXhEeoo.jpg" alt="aji" class=" w-32 h-32 object-cover rounded-2xl">
<a href="#"
class="absolute -right-2 bottom-2 -ml-3 text-white p-1 text-xs bg-green-400 hover:bg-green-500 font-medium tracking-wider rounded-full transition ease-in duration-300">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-4 w-4">
<path
d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z">
</path>
</svg>
</a>
</div>
<div class="flex-auto sm:ml-5 justify-evenly">
<div class="flex items-center justify-between sm:mt-2">
<div class="flex items-center">
<div class="flex flex-col">
<div class="w-full flex-none text-lg text-gray-800 font-bold leading-none">Aji</div>
<div class="flex-auto text-gray-500 my-1">
<span class="mr-3 ">UI/UX Designer</span><span class="mr-3 border-r border-gray-200 max-h-0"></span><span>Cochin, IND</span>
</div>
</div>
</div>
</div>
<div class="flex flex-row items-center">
<div class="flex">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-500">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-500">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-500">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
class="h-5 w-5 text-yellow-500">
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z">
</path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke="currentColor" class="h-5 w-5 text-yellow-500">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z">
</path>
</svg>
</div>
<div class="flex-1 inline-flex hidden items-center">
<img class="w-5 h-5" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDY0IDY0IiBoZWlnaHQ9IjY0cHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA2NCA2NCIgd2lkdGg9IjY0cHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik0zMiw3LjE3NEMxOC4zMTEsNy4xNzQsNy4xNzQsMTguMzExLDcuMTc0LDMyYzAsMTMuNjg5LDExLjEzNywyNC44MjYsMjQuODI2LDI0LjgyNmMxMy42ODksMCwyNC44MjYtMTEuMTM3LDI0LjgyNi0yNC44MjYgIEM1Ni44MjYsMTguMzExLDQ1LjY4OSw3LjE3NCwzMiw3LjE3NHogTTM4LjE3NCwzMi44NzRoLTQuMDM5YzAsNi40NTMsMCwxNC4zOTgsMCwxNC4zOThoLTUuOTg1YzAsMCwwLTcuODY4LDAtMTQuMzk4aC0yLjg0NXYtNS4wODggIGgyLjg0NXYtMy4yOTFjM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mlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbDojMDEwMTAxOyIvPjwvc3ZnPg==">
</div>
</div>
<div class="flex pt-2 text-sm text-gray-500">
<div class="flex-1 inline-flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path
d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z">
</path>
</svg>
<p class="">1.2k Followers</p>
</div>
<div class="flex-1 inline-flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z"
clip-rule="evenodd"></path>
</svg>
<p class="">14 Components</p>
</div>
<button class="flex-no-shrink bg-green-400 hover:bg-green-500 px-5 ml-4 py-2 text-xs shadow-sm hover:shadow-lg font-medium tracking-wider border-2 border-green-300 hover:border-green-500 text-white rounded-full transition ease-in duration-300">FOLLOW</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
How to make a Taiwind CSS Profile card design with Tailwind CSS?
Install tailwind css of verion 2.2.4
Use the script
html tag to import the script of Tailwind CSS of the version 2.2.4
<script src="https://cdn.tailwindcss.com"></script>
All the unility class needed to make a Taiwind CSS Profile card design component
flex
flex-col
min-h-screen
bg-center
bg-cover
absolute
bg-black
z-0
max-w-3xl
w-full
mx-auto
z-10
bg-gray-900
border-gray-900
p-4
m-4
flex-none
sm:flex
relative
h-32
w-32
sm:mb-0
mb-3
-right-2
bottom-2
-ml-3
text-white
p-1
text-xs
bg-green-400
hover:bg-green-500
h-4
w-4
flex-auto
sm:ml-5
sm:mt-2
text-lg
text-gray-200
text-gray-400
my-1
mr-3
border-r
border-gray-600
max-h-0
flex-row
h-5
w-5
text-yellow-400
flex-1
inline-flex
hidden
pt-2
text-sm
mr-2
flex-no-shrink
px-5
ml-4
py-2
border-2
border-green-300
hover:border-green-500
bg-white
border-white
text-gray-800
text-gray-500
border-gray-200
text-yellow-500
67 steps to make a Taiwind CSS Profile card design component with Tailwind CSS
Use
flex
to create a block-level flex container.Use
flex
to create a block-level flex container.Set the minimum width/height of an element using the
min-h-screen
utilities.Control the background color of an element to center using the
bg-center
utilities.Control the background color of an element to cover using the
bg-cover
utilities.Use
absolute
to position an element outside of the normal flow of the document, causing neighboring elements to act as if the element doesn’t exist.Control the background color of an element to black using the
bg-black
utilities.Control the stack order (or three-dimensional positioning) of an element to 0 in Tailwind, regardless of order it has been displayed, using the
z-0
utilities.Set the maximum width/height of an element using the
max-w-3xl
utilities.Use
w-full
to set an element to a 100% based width.Control the horizontal margin of an element to auto using the
mx-auto
utilities.Control the stack order (or three-dimensional positioning) of an element to 10 in Tailwind, regardless of order it has been displayed, using the
z-10
utilities.Control the background color of an element to gray-900 using the
bg-gray-900
utilities.Control the border color of an element to gray-900 using the
border-gray-900
utilities.Control the padding on all sides of an element to 1rem using the
p-4
utilities.Control the margin on all sides of an element to 1rem using the
m-4
utilities.Use
flex
to create a block-level flex container.Use
flex
to create a block-level flex container at only small screen sizes.Use
relative
to position an element according to the normal flow of the document.Use
h-32
to set an element to a fixed height(8rem).Use
w-32
to set an element to a fixed width(8rem).Control the margin on bottom side of an element to 0rem at only small screen sizes using the
sm:mb-0
utilities.Control the margin on bottom side of an element to 0.75rem using the
mb-3
utilities.Use the
-right-2
utilities to set the right position of a positioned element to -0.5rem.Use the
bottom-2
utilities to set the bottom position of a positioned element to 0.5rem.Control the margin on left side of an element to -0.75rem using the
-ml-3
utilities.Control the text color of an element to white using the
text-white
utilities.Control the padding on all sides of an element to 0.25rem using the
p-1
utilities.Control the text color of an element to xs using the
text-xs
utilities.Control the background color of an element to green-400 using the
bg-green-400
utilities.Control the background color of an element to green-500 using the
hover:bg-green-500
utilities on hover.Use
h-4
to set an element to a fixed height(1rem).Use
w-4
to set an element to a fixed width(1rem).Use
flex
to create a block-level flex container.Control the margin on left side of an element to 1.25rem at only small screen sizes using the
sm:ml-5
utilities.Control the margin on top side of an element to 0.5rem at only small screen sizes using the
sm:mt-2
utilities.Control the text color of an element to lg using the
text-lg
utilities.Control the text color of an element to gray-200 using the
text-gray-200
utilities.Control the text color of an element to gray-400 using the
text-gray-400
utilities.Control the vertical margin of an element to 0.25rem using the
my-1
utilities.Control the margin on right side of an element to 0.75rem using the
mr-3
utilities.Control the border color of an element to r using the
border-r
utilities.Control the border color of an element to gray-600 using the
border-gray-600
utilities.Set the maximum width/height of an element using the
max-h-0
utilities.Use
flex
to create a block-level flex container.Use
h-5
to set an element to a fixed height(1.25rem).Use
w-5
to set an element to a fixed width(1.25rem).Control the text color of an element to yellow-400 using the
text-yellow-400
utilities.Use
flex
to create a block-level flex container.Use
inline-flex
to create an inline flex container that flows with text.Use
hidden
to set an element to display: none and remove it from the page layout.Control the padding on top side of an element to 0.5rem using the
pt-2
utilities.Control the text color of an element to sm using the
text-sm
utilities.Control the margin on right side of an element to 0.5rem using the
mr-2
utilities.Use
flex
to create a block-level flex container.Control the horizontal padding of an element to 1.25rem using the
px-5
utilities.Control the margin on left side of an element to 1rem using the
ml-4
utilities.Control the vertical padding of an element to 0.5rem using the
py-2
utilities.Control the border color of an element to 0.5rem using the
border-2
utilities.Control the border color of an element to green-300 using the
border-green-300
utilities.Control the border color of an element to green-500 using the
hover:border-green-500
utilities on hover.Control the background color of an element to white using the
bg-white
utilities.Control the border color of an element to white using the
border-white
utilities.Control the text color of an element to gray-800 using the
text-gray-800
utilities.Control the text color of an element to gray-500 using the
text-gray-500
utilities.Control the border color of an element to gray-200 using the
border-gray-200
utilities.Control the text color of an element to yellow-500 using the
text-yellow-500
utilities.
Conclusion
The above is a step-by-step tutorial on how to use Tailwind CSS to make a Taiwind CSS Profile card design components, learn and follow along to implement your own components.