Elevation is added to an element using the .p-shadow-{level} class.
+Elevation is added to an element using the .p-shadow-{level} class.
<div class="p-shadow-1" />
- There are 24 depths available varying from 1 to 24.
+There are 24 depths available varying from 1 to 24.
<div class="p-shadow-1" />
<div class="p-shadow-24" />
-
-<div class="p-grid">
- <div class="p-col" v-for="index in 24" :key="index">
- <div :class="['box', 'p-shadow-' + index]">
- p-shadow-{{index}}
- </div>
- </div>
-</div>
+
-
- FlexGrid is a CSS utility based on flexbox. For more information about Flex, visit A Complete Guide to Flexbox. A basic grid is defined by giving - a container p-grid class and children the p-col class. Children of the grid will have the same width and scale according to the width of the parent.
+FlexGrid is a CSS utility based on flexbox. For more information about Flex, visit A Complete Guide to Flexbox. A basic grid is defined by giving + a container p-grid class and children the p-col class. Children of the grid will have the same width and scale according to the width of the parent.
<div class="p-grid">
<div class="p-col">1</div>
@@ -26,10 +24,10 @@
FlexGrid includes a 12 column based layout utility where width of a column is defined with the p-col-{number} style class. Columns with prefined widths can be used with columns with auto width (p-col) as well.
+FlexGrid includes a 12 column based layout utility where width of a column is defined with the p-col-{number} style class. Columns with prefined widths can be used with columns with auto width (p-col) as well.
-In the first example below, first column covers the 4 units out of 12 and the rest of the columns share the remaining space whereas in the second example, all three columns have explicit units.
+In the first example below, first column covers the 4 units out of 12 and the rest of the columns share the remaining space whereas in the second example, all three columns have explicit units.
<div class="p-grid">
<div class="p-col-4">4</div>
@@ -93,8 +91,8 @@
- MultiLine
- When the number of columns exceed 12, columns wrap to a new line.
+ MultiLine
+ When the number of columns exceed 12, columns wrap to a new line.
<div class="p-grid">
<div class="p-col-6">6</div>
@@ -120,8 +118,8 @@
- Fixed Width Column
- A column can have a fixed width while siblings having auto width. Apply p-col-fixed class to fix a column width.
+ Fixed Width Column
+ A column can have a fixed width while siblings having auto width. Apply p-col-fixed class to fix a column width.
<div class="p-grid">
<div class="p-col-fixed" style="width:100px">Fixed</div>
@@ -138,48 +136,48 @@
auto
- Responsive
- Responsive layout is achieved by applying breakpoint specific classes to the columns whereas p-col-* define the default behavior for mobile devices with small screens. Four screen sizes are supported with different breakpoints.
-
-
-
-
- Prefix
- Devices
- Media Query
- Example
-
-
-
-
- p-sm-*
- Small devices
- min-width: 576px
- p-sm-6, p-sm-4
-
-
- p-md-*
- Medium sized devices such as tablets
- min-width: 768px
- p-md-2, p-md-8
-
-
- p-lg-*
- Devices with large screen like desktops
- min-width: 992px
- p-lg-6, p-lg-12
-
-
- p-xl-*
- Big screen monitors
- min-width: 1200px
- p-xl-2, ui-xl-10
-
-
-
-
+ Responsive
+ Responsive layout is achieved by applying breakpoint specific classes to the columns whereas p-col-* define the default behavior for mobile devices with small screens. Four screen sizes are supported with different breakpoints.
+
+
+
+
+ Prefix
+ Devices
+ Media Query
+ Example
+
+
+
+
+ p-sm-*
+ Small devices
+ min-width: 576px
+ p-sm-6, p-sm-4
+
+
+ p-md-*
+ Medium sized devices such as tablets
+ min-width: 768px
+ p-md-2, p-md-8
+
+
+ p-lg-*
+ Devices with large screen like desktops
+ min-width: 992px
+ p-lg-6, p-lg-12
+
+
+ p-xl-*
+ Big screen monitors
+ min-width: 1200px
+ p-xl-2, ui-xl-10
+
+
+
+
- In example below, large screens display 4 columns, medium screens display 2 columns in 2 rows and finally on small devices, columns are stacked.
+ In example below, large screens display 4 columns, medium screens display 2 columns in 2 rows and finally on small devices, columns are stacked.
<div class="p-grid">
<div class="p-col-12 p-md-6 p-lg-3">A</div>
@@ -204,8 +202,8 @@
D
- Offset
- Offset classes allow defining a left margin on a column to avoid adding empty columns for spacing.
+ Offset
+ Offset classes allow defining a left margin on a column to avoid adding empty columns for spacing.
<div class="p-grid">
<div class="p-col-6 p-offset-3">6</div>
@@ -232,54 +230,54 @@
4
- The list of offset classes varying within a range of 1 to 12.
-
-
-
-
- Prefix
- Devices
- Media Query
- Example
-
-
-
-
- p-col-offset-*
- All devices
- All screens
- p-col-offset-6, p-col-offset-4
-
-
- p-sm-offset-*
- Small devices
- min-width: 576px
- p-sm-offset-6, p-sm-offset-4
-
-
- p-md-offset-*
- Medium sized devices such as tablets
- min-width: 768px
- p-md-offset-6, p-md-offset-4
-
-
- p-lg-offset-*
- Devices with large screen like desktops
- min-width: 992px
- p-lg-offset-6, p-lg-offset-4
-
-
- p-xl-offset-*
- Big screen monitors
- min-width: 1200px
- p-xl-offset-6, p-xl-offset-4
-
-
-
-
+ The list of offset classes varying within a range of 1 to 12.
+
+
+
+
+ Prefix
+ Devices
+ Media Query
+ Example
+
+
+
+
+ p-col-offset-*
+ All devices
+ All screens
+ p-col-offset-6, p-col-offset-4
+
+
+ p-sm-offset-*
+ Small devices
+ min-width: 576px
+ p-sm-offset-6, p-sm-offset-4
+
+
+ p-md-offset-*
+ Medium sized devices such as tablets
+ min-width: 768px
+ p-md-offset-6, p-md-offset-4
+
+
+ p-lg-offset-*
+ Devices with large screen like desktops
+ min-width: 992px
+ p-lg-offset-6, p-lg-offset-4
+
+
+ p-xl-offset-*
+ Big screen monitors
+ min-width: 1200px
+ p-xl-offset-6, p-xl-offset-4
+
+
+
+
- Nested
- Columns can be nested to create more complex layouts.
+ Nested
+ Columns can be nested to create more complex layouts.
<div class="p-grid nested-grid">
<div class="p-col-8">
@@ -321,10 +319,10 @@
- Gutter
- A .5rem padding is applied to each column along with negative margins on the container element, in case you'd like to remove these gutters, apply
- p-nogutter class to the container. Gutters can also be removed on an ndividual columns with the same class name.
-
+ Gutter
+ A .5rem padding is applied to each column along with negative margins on the container element, in case you'd like to remove these gutters, apply
+ p-nogutter class to the container. Gutters can also be removed on an ndividual columns with the same class name.
+
<div class="p-grid p-nogutter">
<div class="p-col">1</div>
@@ -333,404 +331,412 @@
</div>
-
-
-
-
- View on GitHub
-
-
-Basic
-<div class="p-grid">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
-</div>
-
-<h5>Dynamic</h5>
-<Button type="button" icon="pi pi-plus" title="Add Column" @click="addColumn" :disabled="columns.length === 20" style="margin-right: .5em" />
-<Button type="button" icon="pi pi-minus" title="Remove Column" @click="removeColumn" :disabled="columns.length === 1" />
-
-<div style="margin-top: .5em">
- <transition-group name="dynamic-box" tag="div" class="p-grid">
- <div v-for="col of columns" :key="col" class="p-col">
- <div class="box">{{col}}</div>
- </div>
- </transition-group>
-</div>
-
-<h5>Reverse Direction</h5>
-<div class="p-grid p-flex-row-reverse">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
-</div>
-
-<h5>Column Direction</h5>
-<div class="p-grid p-flex-column">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
-</div>
-
-<h5>Reverse Column Direction</h5>
-<div class="p-grid p-flex-column-reverse">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
-</div>
-
-<h5>12 Column Grid</h5>
-<div class="p-grid">
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
-</div>
-
-<div class="p-grid">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<div class="p-grid">
- <div class="p-col-8">
- <div class="box">8</div>
- </div>
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
-</div>
-
-<h5>MultiLine</h5>
-<div class="p-grid">
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
-</div>
-
-<h5>Fixed Width Column</h5>
-<div class="p-grid">
- <div class="p-col-fixed" style="width:100px">
- <div class="box">100px</div>
- </div>
- <div class="p-col">
- <div class="box">auto</div>
- </div>
-</div>
-
-<h5>Responsive</h5>
-<div class="p-grid">
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - Start</h5>
-<div class="p-grid p-jc-start">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - End</h5>
-<div class="p-grid p-jc-end">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - Center</h5>
-<div class="p-grid p-jc-center">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - Between</h5>
-<div class="p-grid p-jc-between">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - Around</h5>
-<div class="p-grid p-jc-around">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Horizontal Alignment - Even</h5>
-<div class="p-grid p-jc-evenly">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Vertical Alignment - Start</h5>
-<div class="p-grid p-ai-start vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Vertical Alignment - End</h5>
-<div class="p-grid p-ai-end vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Vertical Alignment - Center</h5>
-<div class="p-grid p-ai-center vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Vertical Alignment - Stretch</h5>
-<div class="p-grid p-ai-stretch vertical-container">
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
-</div>
-
-<h5>Vertical Alignment - Per Column</h5>
-<div class="p-grid vertical-container">
- <div class="p-col p-as-start">
- <div class="box">4</div>
- </div>
- <div class="p-col p-as-center">
- <div class="box">4</div>
- </div>
- <div class="p-col p-as-end">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Offset</h5>
-<div class="p-grid">
- <div class="p-col-6 p-offset-3">
- <div class="box">6</div>
- </div>
-</div>
-
-<div class="p-grid">
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
- <div class="p-col-4 p-offset-4">
- <div class="box">4</div>
- </div>
-</div>
-
-<h5>Nested</h5>
-<div class="p-grid nested-grid">
- <div class="p-col-8">
- <div class="p-grid">
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-12">
- <div class="box">12</div>
- </div>
- </div>
- </div>
- <div class="p-col-4">
- <div class="box box-stretched">4</div>
- </div>
-</div>
-
-<h5>Panels</h5>
-<div class="p-grid">
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
-</div>
+
-
-
+
\ No newline at end of file
diff --git a/src/views/spacing/SpacingDoc.vue b/src/views/spacing/SpacingDoc.vue
index 7cc168aad..57e6a97af 100644
--- a/src/views/spacing/SpacingDoc.vue
+++ b/src/views/spacing/SpacingDoc.vue
@@ -1,54 +1,52 @@
-
-
-
- Getting Started
- The spacing classes use the p-{property}{position}-{value} syntax whereas for responsive
- values p-{property}{position}-{breakpoint}-{value} format is used.
+
+ Getting Started
+ The spacing classes use the p-{property}{position}-{value} syntax whereas for responsive
+ values p-{property}{position}-{breakpoint}-{value} format is used.
- Property
- Property can either be a margin or a padding.
-
- - m: margin
- - p: padding
-
+ Property
+ Property can either be a margin or a padding.
+
+ - m: margin
+ - p: padding
+
- Position
- Position are available for the individual sides, the x-y axis or blank for the shortand of all sides.
-
- - t: top
- - b: bottom
- - l: left
- - r: right
- - x: left and right
- - y: top and bottom
- - blank: all sides
-
+ Position
+ Position are available for the individual sides, the x-y axis or blank for the shortand of all sides.
+
+ - t: top
+ - b: bottom
+ - l: left
+ - r: right
+ - x: left and right
+ - y: top and bottom
+ - blank: all sides
+
- Value
- Value field varies from 0 to 6 where default value of the $spacer is 1rem. The special auto value is available to margins only and used to center elements.
-
- - 0: $spacer * 0
- - 1: $spacer * .25
- - 2: $spacer * .5
- - 3: $spacer * 1
- - 4: $spacer * 1.5
- - 5: $spacer * 2
- - 6: $spacer * 3
- - auto: auto margin
-
+ Value
+ Value field varies from 0 to 6 where default value of the $spacer is 1rem. The special auto value is available to margins only and used to center elements.
+
+ - 0: $spacer * 0
+ - 1: $spacer * .25
+ - 2: $spacer * .5
+ - 3: $spacer * 1
+ - 4: $spacer * 1.5
+ - 5: $spacer * 2
+ - 6: $spacer * 3
+ - auto: auto margin
+
- Breakpoint
- Breakpoints define how the spacing 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.
-
- - sm: small screens e.g. phones
- - md: medium screens e.g. tablets
- - lg: large screens e.g. notebooks
- - xl: larger screens .e.g monitors
-
+ Breakpoint
+ Breakpoints define how the spacing 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.
+
+ - sm: small screens e.g. phones
+ - md: medium screens e.g. tablets
+ - lg: large screens e.g. notebooks
+ - xl: larger screens .e.g monitors
+
- Examples
+ Examples
<div class="p-mb-2">Margin bottom with level 2</div>
<div class="p-mt-4">Margin top with level 2</div>
@@ -60,78 +58,168 @@
- Customization
- A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.
-
-
-
-
- View on GitHub
-
-
-<div class="card">
- <h5>Margin</h5>
- <h6>Without Spacing</h6>
- <Button type="button" label="Button 1" style="width:20rem" />
- <Button type="button" label="Button 2" style="width:20rem" />
-
- <h6>With Spacing</h6>
- <Button type="button" label="Button 1" style="width:20rem" class="p-mr-2 p-mb-2" />
- <Button type="button" label="Button 2" style="width:20rem" class="p-mb-2"/>
-
- <h5>Responsive Margin</h5>
- <h6>Without Spacing</h6>
- <div class="p-grid p-formgrid p-fluid">
- <div class="p-col-12 p-lg-4">
- <InputText />
- </div>
- <div class="p-col-12 p-lg-4">
- <InputText />
- </div>
- <div class="p-col-12 p-lg-4">
- <InputText />
- </div>
- </div>
-
- <h6>With Spacing</h6>
- <div class="p-grid p-formgrid p-fluid">
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText />
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText />
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText />
- </div>
- </div>
-
- <h6>Center</h6>
- <div class="demo-container p-p-4">
- <Button type="button" label="Button" class="p-d-block p-mx-auto" />
- </div>
-</div>
-
-<div class="card">
- <h5>Padding</h5>
- <h6>Without Spacing</h6>
- <div class="demo-container">
- <Button type="button" label="Button" />
- </div>
-
- <h6>With Spacing</h6>
- <div class="demo-container p-p-3">
- <Button type="button" label="Button" />
- </div>
-
- <h6>Responsive Spacing</h6>
- <div class="demo-container p-p-0 p-p-sm-1 p-p-md-2 p-p-lg-3">
- <Button type="button" label="Button" />
- </div>
-</div>
+ Customization
+ A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.
+
-
-
-
-
+
+
diff --git a/src/views/text/TextDoc.vue b/src/views/text/TextDoc.vue
index e5a9d4230..512daf0b8 100644
--- a/src/views/text/TextDoc.vue
+++ b/src/views/text/TextDoc.vue
@@ -1,18 +1,16 @@
-
-
-
- Getting Started
- The text classes use the p-text-{value} syntax.
+
+ Getting Started
+ The text classes use the p-text-{value} syntax.
- Alignment
- Four options are available for alignment.
-
- - left
- - center
- - right
- - justify
-
+ Alignment
+ Four options are available for alignment.
+
+ - left
+ - center
+ - right
+ - justify
+
<div class="p-text-left">Left</div>
<div class="p-text-center">Center</div>
@@ -21,13 +19,13 @@
- Wrap
- Text wrapping defines how the text would be displayed when it exceeds the size of its container.
-
- - nowrap
- - wrap
- - truncate
-
+ Wrap
+ Text wrapping defines how the text would be displayed when it exceeds the size of its container.
+
+ - nowrap
+ - wrap
+ - truncate
+
<div style="width: 10rem">Long text wraps and does not overlow.</div>
<div class="p-text-nowrap" style="width: 10rem">Long text does not wrap and overflows the parent.</div>
@@ -35,13 +33,13 @@
- Transform
- Transform property changes the case of the text.
-
- - lowercase
- - uppercase
- - capitalize
-
+ Transform
+ Transform property changes the case of the text.
+
+ - lowercase
+ - uppercase
+ - capitalize
+
<div class="p-text-lowercase">LOWERCASE</div>
<div class="p-text-uppercase">uppercase</div>
@@ -49,14 +47,14 @@
- Style
- Text styling applies to font weight and style.
-
- - bold
- - normal
- - light
- - italic
-
+ Style
+ Text styling applies to font weight and style.
+
+ - bold
+ - normal
+ - light
+ - italic
+
<div class="p-text-bold">Bold</div>
<div class="p-text-normal">Normal</div>
@@ -64,38 +62,96 @@
<div class="p-text-italic">Italic</div>
-
-
-
-
- View on GitHub
-
-
-<div class="card">
- <h5>Alignment</h5>
- <div class="p-mb-3 p-text-left">Left</div>
- <div class="p-mb-3 p-text-center">Center</div>
- <div class="p-text-right">Right</div>
-
- <h5>Wrap</h5>
- <div class="p-mb-3 demo-container" style="width: 10rem">Long text wraps and does not overlow.</div>
- <div class="p-mb-3 demo-container p-text-nowrap" style="width: 10rem">Long text does not wrap and overflows the parent.</div>
- <div class="p-mb-3 demo-container p-text-nowrap p-text-truncate" style="width: 10rem">Long text does not wrap and overflows the parent.</div>
-
- <h5>Transform</h5>
- <div class="p-mb-3 p-text-lowercase">LOWERCASE</div>
- <div class="p-mb-3 p-text-uppercase">uppercase</div>
- <div class="p-text-capitalize">capitalize</div>
-
- <h5>Style</h5>
- <div class="p-mb-3 p-text-bold">Bold</div>
- <div class="p-mb-3 p-text-normal">Normal</div>
- <div class="p-mb-3 p-text-light">Light</div>
- <div class="p-mb-3 p-text-italic">Italic</div>
-</div>
+
-
-
-
-
-
\ No newline at end of file
+
+
\ No newline at end of file