JSFiddle - React, Tailwind, and code Playground
by dhavaljani
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css">
<!--
Bootstrap docs: https://getbootstrap.com/docs
-->
<div class="container">
<div class="row">
<div class="col">
<div class="card w-100 animate__animated animate__fadeInDown animate__faster ">
<div class="row">
<div class="col-sm-8">
<h5 class="card-title">Enroll</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<div class="col-sm-4">
<button type="button" class="btn btn-primary btn-lg btn-block">Primary</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="card w-100 animate__animated animate__fadeInBottomLeft animate__fast">
<h5 class="card-title">Resources</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="col-sm-4">
<div class="card w-100 animate__animated animate__fadeInBottomRight animate__fast">
<h5 class="card-title">Support</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
</div>
</div>
CSS
body {
padding-top: 20px;
background-image: linear-gradient(to bottom, rgba(175, 216, 243, 0.3) 100%, rgba(85, 155, 221, 0.45));
}
.container {
max-width: 960px;
}
.btn {
margin-top: 16px;
}
.card {
padding: 20px;
margin-bottom: 20px;
}