Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
leon-win and github-actions[bot] authored Dec 24, 2024
1 parent 5200547 commit c49b4fd
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ La propiedad {{cssxref ("background")}} de CSS es una propiedad abreviada de una
105deg,
rgba(255, 255, 255, 0.2) 39%,
rgba(51, 56, 57, 1) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(big-star.png) center no-repeat,
rebeccapurple;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ CSS の {{cssxref("background")}} プロパティは、このレッスンで説
105deg,
rgb(255 255 255 / 20%) 39%,
rgb(51 56 57 / 100%) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(image.png) center no-repeat,
rebeccapurple;
}
Expand Down Expand Up @@ -416,7 +417,8 @@ background-position:
105deg,
rgb(255 255 255 / 20%) 39%,
rgb(51 56 57 / 100%) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(https://mdn.github.io/shared-assets/images/examples/big-star.png) center
no-repeat,
rebeccapurple;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ HTML のインデックスファイルを開いてください。多くの機能
font-family: "HeydingsControlsRegular";
src: url("fonts/heydings_controls-webfont.eot");
src:
url("fonts/heydings_controls-webfont.eot?#iefix") format("embedded-opentype"),
url("fonts/heydings_controls-webfont.eot?#iefix")
format("embedded-opentype"),
url("fonts/heydings_controls-webfont.woff") format("woff"),
url("fonts/heydings_controls-webfont.ttf") format("truetype");
font-weight: normal;
Expand Down
4 changes: 3 additions & 1 deletion files/ja/web/css/css_backgrounds_and_borders/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ div {
transparent 60%,
currentcolor 60% 70%,
transparent 70%
), linear-gradient(45deg, currentcolor, white), linear-gradient(transparent, transparent);
),
linear-gradient(45deg, currentcolor, white),
linear-gradient(transparent, transparent);
/* 3 枚目の透明な背景画像が追加され、背景色が透けて見えるスペースが確保された */
background-color: currentcolor;
background-position: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ CSS-свойство {{cssxref ("background")}} является сокраще
105deg,
rgba(255, 255, 255, 0.2) 39%,
rgba(51, 56, 57, 1) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(big-star.png) center no-repeat,
rebeccapurple;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ CSS {{cssxref("background")}} 属性是本课程中我们将遇到的一些普
105deg,
rgba(255, 255, 255, 0.2) 39%,
rgba(51, 56, 57, 1) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(image.png) center no-repeat,
rebeccapurple;
}
Expand Down Expand Up @@ -407,7 +408,8 @@ background-position:
105deg,
rgb(255 255 255 / 20%) 39%,
rgb(51 56 57 / 100%) 96%
) center center / 400px 200px no-repeat,
)
center center / 400px 200px no-repeat,
url(https://mdn.github.io/shared-assets/images/examples/big-star.png) center
no-repeat,
rebeccapurple;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ HTML 提供了用于在文档中嵌入富媒体的元素:{{htmlelement("video"
font-family: "HeydingsControlsRegular";
src: url("fonts/heydings_controls-webfont.eot");
src:
url("fonts/heydings_controls-webfont.eot?#iefix") format("embedded-opentype"),
url("fonts/heydings_controls-webfont.eot?#iefix")
format("embedded-opentype"),
url("fonts/heydings_controls-webfont.woff") format("woff"),
url("fonts/heydings_controls-webfont.ttf") format("truetype");
font-weight: normal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,11 @@ HTML 的一个片段如下,注意其中的 readonly 属性:

```css
:is(
input:read-only,
input:-moz-read-only,
textarea:-moz-read-only,
textarea:read-only
) {
input:read-only,
input:-moz-read-only,
textarea:-moz-read-only,
textarea:read-only
) {
border: 0;
box-shadow: none;
background-color: white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ slug: Web/CSS/CSS_backgrounds_and_borders/Using_multiple_backgrounds

```css
.multi_bg_example {
background-image: url(firefox.png), url(bubbles.png), linear-gradient(to right, rgba(30, 75, 115, 1), rgba(255, 255, 255, 0));
background-image: url(firefox.png), url(bubbles.png),
linear-gradient(to right, rgba(30, 75, 115, 1), rgba(255, 255, 255, 0));

background-repeat: no-repeat, no-repeat, no-repeat;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function format(template, ...args) {
...args.map((num) =>
(Object.is(num, -0)
? "-0"
: formattedNumbers.get(num) ?? String(num)
: (formattedNumbers.get(num) ?? String(num))
).padEnd(5),
),
);
Expand Down

0 comments on commit c49b4fd

Please sign in to comment.