I have tried applying styles provided on prime faces demos but was unable to get the results. The code i tried is as follows
<h:head>
<title>Facelet Title</title>
<style type="text/css">
button.ui-button {
margin-right: .5rem;
}
</style>
</h:head>
<h:body>
<div class="card">
<h5>Basic</h5>
<p:commandButton type="button" value="Submit" />
<h5>Icons</h5>
<p:commandButton type="button" icon="pi pi-check" />
<h5>Severities</h5>
<p:commandButton type="button" value="Primary" />
<p:commandButton type="button" value="Secondary" styleClass="ui-button-secondary" />
<h5>Raised Buttons</h5>
<p:commandButton type="button" value="Primary" styleClass="ui-button-raised" />
<h5>Rounded Buttons</h5>
<p:commandButton type="button" value="Primary" styleClass="rounded-button" />
<h5>Flat Buttons</h5>
<p:commandButton type="button" value="Primary" styleClass="ui-button-flat" />
<h5>Raised Text Buttons</h5>
<p:commandButton type="button" value="Primary" styleClass="ui-button-raised ui-button-flat" />
<h5>Outlined Buttons</h5>
<p:commandButton type="button" value="Primary" styleClass="ui-button-outlined" />
<h5>Rounded Icon Buttons</h5>
<p:commandButton type="button" icon="pi pi-bookmark" styleClass="rounded-button ui-button-secondary" />
<h5>Rounded Text Icon Buttons</h5>
<p:commandButton type="button" icon="pi pi-check" styleClass="rounded-button ui-button-flat" />
<h5>Rounded and Outlined Icon Buttons</h5>
<p:commandButton type="button" icon="pi pi-check" styleClass="rounded-button ui-button-outlined" />
</div>
But no result is shown as required.
Please guide me what stylesheet i will have to add.