Skip to content

Commit f5000d0

Browse files
committed
Changed md codeblocks to reflect scss like formatting
1 parent 5bdc322 commit f5000d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/bundler/css.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ By default, Bun's CSS bundler targets the following browsers:
2929

3030
The CSS Nesting specification allows you to write more concise and intuitive stylesheets by nesting selectors inside one another. Instead of repeating parent selectors across your CSS file, you can write child styles directly within their parent blocks.
3131

32-
```css
32+
```scss
3333
/* With nesting */
3434
.card {
3535
background: white;
@@ -67,7 +67,7 @@ Bun's CSS bundler automatically converts this nested syntax into traditional fla
6767

6868
You can also nest media queries and other at-rules inside selectors, eliminating the need to repeat selector patterns:
6969

70-
```css
70+
```scss
7171
.responsive-element {
7272
display: block;
7373

@@ -95,7 +95,7 @@ This compiles to:
9595

9696
The `color-mix()` function gives you an easy way to blend two colors together according to a specified ratio in a chosen color space. This powerful feature lets you create color variations without manually calculating the resulting values.
9797

98-
```css
98+
```scss
9999
.button {
100100
/* Mix blue and red in the RGB color space with a 30/70 proportion */
101101
background-color: color-mix(in srgb, blue 30%, red);

0 commit comments

Comments
 (0)