The display classes use the p-d-{value} format and p-d-{breakpoint}-{value} format for responsive design.
+The display classes use the p-d-{value} format and p-d-{breakpoint}-{value} format for responsive design.
-Value field can be one of the following options.
-Value field can be one of the following options.
+Breakpoints define how the display property should be defined depending on the screen size. Design is mobile first so smaller values - can also apply to larger values e.g. md also applies to lg or xl if they are not explicitly defined.
-Breakpoints define how the display property should be defined depending on the screen size. Design is mobile first so smaller values + can also apply to larger values e.g. md also applies to lg or xl if they are not explicitly defined.
+
<div class="p-d-inline">Displayed as inline.</div>
<div class="p-d-flex">Displayed as a flexbox container.</div>
@@ -38,41 +36,90 @@
- A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.
-
-<div class="card">
- <h5>Inline</h5>
- <InputText class="p-mr-2 p-d-inline" />
- <InputText class="p-d-inline" />
-
- <h5>Block</h5>
- <InputText class="p-mb-2 p-d-block" />
- <InputText class="p-d-block" />
-
- <h5>Visible on a Small Screen</h5>
- <p>Resize to view.</p>
- <Button type="button" icon="pi pi-bars" class="p-button-rounded p-d-md-none" />
-
- <h5>Hidden on a Small Screen</h5>
- <p>Resize to hide.</p>
- <Button type="button" icon="pi pi-search" class="p-button-rounded p-button-success p-d-none p-d-md-inline-flex" />
-
- <h5>Visible to Print, Invisible for Screen</h5>
- <p class="p-d-none p-print-block">Only visible when printed.</p>
-
- <h5>Visible to Screen, Invisible for Print</h5>
- <p class="p-d-block p-print-none">Not available for printing.</p>
-</div>
+ Customization
+ A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.
+
-
-