Shapes direct attention, identify components, communicate state, and express brand.
<div class="m-shape-container">
<button type="button" class="btn btn-primary">
Button
</button>
<div class="angle-top-left bg-body"></div>
<div class="angle-top-right bg-body"></div>
<div class="angle-bottom-left bg-body"></div>
<div class="angle-bottom-right bg-body"></div>
</div>
<div class="m-shape-container">
<button type="button" class="btn btn-outline-success">
Button
</button>
<div class="angle-top-left bg-body border border-success border-bottom" ></div>
<div class="angle-top-right bg-body border border-success border-bottom"></div>
<div class="angle-bottom-left bg-body border border-success border-bottom"></div>
<div class="angle-bottom-right bg-body border border-success border-bottom"></div>
</div>
Listen to your favourite artists and albums whenever wherever online and offline
<div class="m-shape-container">
<div class="card bg-tertiary bg-opacity-10" style="max-width:400px">
<div class="card-body">
<h4 class="card-title text-tertiary">Unlimited Music</h4>
<p class="card-text">
Listen to your favourite artists and albums whenever wherever online
and offline
</p>
</div>
<div class="d-flex justify-content-between align-items-center flex-wrap p-2">
<button type="button" class="btn btn-outline-tertiary border-0">
Listen Now
</button>
<div>
<button type="button" class="btn btn-fab mini-fab btn-tertiary m-1">
<i class="bi bi-heart-fill"></i>
</button>
<button type="button" class="btn btn-fab mini-fab btn-tertiary m-1">
<i class="bi bi-share-fill"></i>
</button>
<button type="button" class="btn btn-fab mini-fab btn-tertiary m-1">
<i class="bi bi-three-dots-vertical"></i>
</button>
</div>
</div>
</div>
<div class="angle-top-right bg-body size-50"></div>
</div>
Listen to your favourite artists and albums whenever wherever online and offline
<div class="m-shape-container">
<div class="card border border-success" style="max-width:400px">
<div class="card-body">
<h4 class="card-title text-success">Unlimited Music</h4>
<p class="card-text">
Listen to your favourite artists and albums whenever wherever online
and offline
</p>
</div>
<div class="d-flex justify-content-between align-items-center flex-wrap p-2">
<button type="button" class="btn btn-outline-success border-0">
Listen Now
</button>
<div>
<button type="button" class="btn btn-fab mini-fab btn-success m-1">
<i class="bi bi-heart-fill"></i>
</button>
<button type="button" class="btn btn-fab mini-fab btn-success m-1">
<i class="bi bi-share-fill"></i>
</button>
<button type="button" class="btn btn-fab mini-fab btn-success m-1">
<i class="bi bi-three-dots-vertical"></i>
</button>
</div>
</div>
</div>
<div class="angle-top-right bg-body size-50 border border-bottom border-success"></div>
</div>
<div class="m-shape-container">
<div class="bg-warning bg-opacity-10 border border-bottom border-2 border-warning"
style="height: 200px; width: 200px;"></div>
<div class="angle-top-left bg-body size-50 border border-bottom border-2 border-warning"></div>
<div class="angle-top-right bg-body size-50 border border-bottom border-2 border-warning"></div>
<div class="angle-bottom-left bg-body size-50 border border-bottom border-2 border-warning"></div>
<div class="angle-bottom-right bg-body size-50 border border-bottom border-2 border-warning"></div>
</div>
// Initialize Shapes
var shapes = [].slice.call(document.querySelectorAll('.m-shape-container'))
shapes.map(function (s) {
new materialstyle.Shape(s)
})
// Initialize Shapes
$('.m-shape-container').shape();