Simple, but difficult to me. Image border property

Joined
Sep 22, 2022
Messages
1
Reaction score
0
Hi, I have to:
Add a CSS rule for your image that sets the border property to 2 pixels wide with a solid blue color

My try in CSS is :
#photo {
border-image-width: 2px;
color: #1a33e5;

The HTML for image is:
<div>
<img src="photo.jpg" id="photo">
</div>

The mistake: ✗ The border property is not set to 2 pixels (+ 2 tests)
Can anyone help me?
 

Attachments

  • css.jpg
    css.jpg
    79.3 KB · Views: 106
  • html.jpg
    html.jpg
    76.9 KB · Views: 106
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top