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: 2
  • html.jpg
    html.jpg
    76.9 KB · Views: 2
Last edited:
Ad

Advertisements


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

Top