62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`css-comment.md 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["markdown"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
\`\`\`pcss
|
|
.Avatar {
|
|
/* ... */
|
|
|
|
&__image {
|
|
/* ... */
|
|
|
|
@container (width > 100px) {
|
|
/*
|
|
Change some styles on the image element when the container is
|
|
wider than 100px
|
|
*/
|
|
}
|
|
}
|
|
|
|
@container (aspect-ratio > 3) {
|
|
/* Change styles on the avatar itself, when the aspect-ratio is grater than 3 */
|
|
}
|
|
|
|
@container (width > 100px) and (height > 100px) {
|
|
/* ... */
|
|
}
|
|
}
|
|
\`\`\`
|
|
|
|
=====================================output=====================================
|
|
\`\`\`pcss
|
|
.Avatar {
|
|
/* ... */
|
|
|
|
&__image {
|
|
/* ... */
|
|
|
|
@container (width > 100px) {
|
|
/*
|
|
Change some styles on the image element when the container is
|
|
wider than 100px
|
|
*/
|
|
}
|
|
}
|
|
|
|
@container (aspect-ratio > 3) {
|
|
/* Change styles on the avatar itself, when the aspect-ratio is grater than 3 */
|
|
}
|
|
|
|
@container (width > 100px) and (height > 100px) {
|
|
/* ... */
|
|
}
|
|
}
|
|
\`\`\`
|
|
|
|
================================================================================
|
|
`;
|