Shape

Required Javascript for this component is at the end of this page.

<Code>
<!-- Angle on all sides -->
<div class="m-shape-container shape-parent-bg-white">
    <button type="button" class="btn btn-indigo">
        Button
    </button>
    <div class="angle-top-left"></div>
    <div class="angle-top-right"></div>
    <div class="angle-bottom-left"></div>
    <div class="angle-bottom-right"></div>
</div>
<!-- Angle on top right and bottom left -->
<div class="m-shape-container shape-parent-bg-white">
    <button type="button" class="btn btn-indigo">
        Button
    </button>
    <div class="angle-top-right"></div>
    <div class="angle-bottom-left"></div>
</div>
<Code>
<!-- Angle on all sides -->
<div class="m-shape-container shape-parent-bg-white">
    <button type="button" class="btn btn-outline-indigo">
        Button
    </button>
    <div class="angle-top-left"></div>
    <div class="angle-top-right"></div>
    <div class="angle-bottom-left"></div>
    <div class="angle-bottom-right"></div>
</div>
<!-- Angle on top right and bottom left -->
<div class="m-shape-container shape-parent-bg-white">
    <button type="button" class="btn btn-outline-indigo">
        Button
    </button>
    <div class="angle-top-right"></div>
    <div class="angle-bottom-left"></div>
</div>

Unlimited Music

Listen to your favourite artists and albums whenever wherever online and offline

<Code>
<div class="m-shape-container shape-parent-bg-white">
    <div class="card ms-card" style="width:400px">
        <div class="card-body">
            <h4 class="card-title">Unlimited Music</h4>
            <p class="card-text">
                Listen to your favourite artists and albums whenever wherever online and offline
            </p>
        </div>
        <div class="card-actions">
            <div class="card-buttons">
                <button type="button" class="btn btn-text-white">Listen Now</button>
            </div>
            <div class="card-icons">
                <button type="button" class="btn btn-fab mini-fab btn-indigo m-1 unelevated">
                    <i class="material-icons">favorite_border</i>
                </button>
                <button type="button" class="btn btn-fab mini-fab btn-indigo m-1 unelevated">
                    <i class="material-icons">share</i>
                </button>
                <button type="button" class="btn btn-fab mini-fab btn-indigo m-1 unelevated">
                    <i class="material-icons">more_vert</i>
                </button>
            </div>
        </div>
    </div>

    <div class="angle-top-right size-50"></div>
</div>

Unlimited Music

Listen to your favourite artists and albums whenever wherever online and offline

<Code>
<div class="m-shape-container shape-parent-bg-white">
    <div class="card card-outline-indigo" style="width:400px">
        <div class="card-body">
            <h4 class="card-title text-indigo">Unlimited Music</h4>
            <p class="card-text">
                Listen to your favourite artists and albums whenever wherever online and offline
            </p>
        </div>
        <div class="card-actions">
            <div class="card-buttons">
                <button type="button" class="btn btn-text-indigo">Listen Now</button>
            </div>
            <div class="card-icons">
                <button type="button" class="btn btn-fab mini-fab btn-light m-1 unelevated">
                    <i class="material-icons">favorite_border</i>
                </button>
                <button type="button" class="btn btn-fab mini-fab btn-light m-1 unelevated">
                    <i class="material-icons">share</i>
                </button>
                <button type="button" class="btn btn-fab mini-fab btn-light m-1 unelevated">
                    <i class="material-icons">more_vert</i>
                </button>
            </div>
        </div>
    </div>

    <div class="angle-top-right size-50"></div>
</div>
<Code>
<div class="m-shape-container shape-parent-bg-white">
    <div style="background: #EEEEEE; height: 200px; width: 400px; border: 2px solid #BDBDBD;"></div>
    <div class="angle-top-left size-50" style="border-bottom: 2px solid #BDBDBD;"></div>
    <div class="angle-top-right size-50" style="border-bottom: 2px solid #BDBDBD;"></div>
    <div class="angle-bottom-left size-50" style="border-bottom: 2px solid #BDBDBD;"></div>
    <div class="angle-bottom-right size-50" style="border-bottom: 2px solid #BDBDBD;"></div>
</div>

Javascript

<script>
    $(function() {
        // Initialize Shape
        $('.m-shape-container').shape();

        // Add ripple to buttons
        $('.btn').ripple();
    });
</script>