Search code examples
htmlcssstylesborder

Resize a border in CSS


I would like to make a border like in the following photo : (this one)

My code is as follows:

<div id="ametg" class="marketorder">
      <img src="https://cdn.discordapp.com/emojis/618876932825677835.png?v=1">
      <font color="yellow"><p>
      Graines en amethyste
      </p>
      <div id="amgp">
        <p>
          Prix : <span>800</span>$/stack
        </p>
      </div>
      <br /><button onclick="orderga">
        Commander
        </button></font>
    </div>

And, for the style of the class :

.marketorder{
      border-style: solid
    }

Solution

  • The following code was the good one :

    .marketorder{
          border-style: solid;
          width: 150;
          height: 165;
          border: 5px solid black
        }
    

    Sorry for disturbing everyone!