mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Add CSS layer docs
This commit is contained in:
parent
4b4da8340d
commit
bd71b03f64
17 changed files with 318 additions and 28 deletions
23
doc/guides/csslayer/NormalizeDoc.vue
Normal file
23
doc/guides/csslayer/NormalizeDoc.vue
Normal file
|
@ -0,0 +1,23 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>Normalize is another utility to reset CSS of the standard elements. While importing the CSS file, assign it to a layer and define the layer order with primevue coming after the normalized layer.</p>
|
||||
<DocSectionCode :code="code" />
|
||||
</DocSectionText>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
checked: false,
|
||||
code: {
|
||||
basic: `
|
||||
@layer normalize, primevue;
|
||||
|
||||
@import "normalize.css" layer(normalize-reset);
|
||||
`
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue