# Stuck on CSS Backgrounds and Borders 2

**URL:** <https://discourse.mozilla.org/t/stuck-on-css-backgrounds-and-borders-2/92389>\
**Category:** MDN\
**Tags:** learning\
**Created:** [February 3, 2022, 10:13pm UTC](https://discourse.mozilla.org/t/stuck-on-css-backgrounds-and-borders-2/92389 "2022-02-03T22:13:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpannella3](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@cpannella3](https://discourse.mozilla.org/u/cpannella3)\
**Post date:** [February 3, 2022, 10:13pm UTC](https://discourse.mozilla.org/t/stuck-on-css-backgrounds-and-borders-2/92389/1 "2022-02-03T22:13:48Z")

</div>

![image](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/5/2/52f4a08ae7999774520258f707e8e810a00dc2e6.png)

Stuck on this challenge,

Link here: [Test your skills: Backgrounds and borders - Learn web development | MDN](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Test_your_skills_backgrounds_and_borders)

everything else good, not sure how to get the star stack on right side to shrink down vertically so it is only three stars.

any suggestions?

CSS is as follows.  
.box {

border: 5px solid lightblue;  
border-top-left-radius: 20px;  
border-bottom-right-radius: 40px;  
background-image: url(star.png), url(star.png);  
background-repeat: no-repeat, repeat-y;  
background-position: 10px, 95%;  
}

h2 {  
width: 75%;  
display: inline-block;  
text-align: center;  
padding-left: 40px;  
}

---

<div class="post-metadata">

**Author:** ![mikoMK](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/mikomk/32/50456_2.png) [@mikoMK](https://discourse.mozilla.org/u/mikoMK)\
**Post date:** [February 4, 2022, 9:58pm UTC](https://discourse.mozilla.org/t/stuck-on-css-backgrounds-and-borders-2/92389/2 "2022-02-04T21:58:43Z")

</div>

Hi @cpannella3 and welcome to the community 👋

Try adding the background images to the `h2`. Then you could remove the width and fiddle with the paddings an background positions.

If you need more help just ask 😊

Have a nice one,  
Michael
