primevue-mirror/doc/csslayer/NormalizeDoc.vue

24 lines
615 B
Vue
Raw Normal View History

2023-12-26 08:13:55 +00:00
<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>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2023-12-26 08:13:55 +00:00
</DocSectionText>
</template>
<script>
export default {
data() {
return {
checked: false,
code: {
basic: `
@layer normalize, primevue;
@import "normalize.css" layer(normalize-reset);
`
}
};
}
};
</script>