primevue-mirror/doc/csslayer/NormalizeDoc.vue

24 lines
631 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>
2023-12-26 09:00:08 +00:00
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox 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>