--- id: bad87fee1348bd9aedf08815 title: border-radius で丸い画像を作成する challengeType: 0 videoUrl: 'https://scrimba.com/c/c2MvrcB' forumTopicId: 18229 dashedName: make-circular-images-with-a-border-radius --- # --description-- ピクセルの他に、パーセンテージを使用して `border-radius` を指定することもできます。 # --instructions-- 猫の写真の `border-radius` を `50%` にしましょう。 # --hints-- 画像の境界線の角の半径は `50%` に設定されており、完全に丸くなるはずです。 ```js assert(parseInt($('img').css('border-top-left-radius')) > 48); ``` `border-radius` の値は `50%` のパーセンテージ値を使用する必要があります。 ```js assert(code.match(/50%/g)); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats


``` # --solutions-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats


```