Does anyone know how to do this character in HTML? ( photo below )

Asked

Viewed 82 times

2

inserir a descrição da imagem aqui

I found nowhere this character... I need to put on a site, this "arrow" down, only the arrow, pure, for HTML.

3 answers

4

You can produce this result only by using CSS rotating an element and working with its edges. This would avoid you having to insert one more font into your project just to use a character.

.circle {
  width: 50px;
  height: 50px;
  background-image: linear-gradient(to right, #1E90FF, #4169E1);
  border-radius: 50%;
  position: relative;
}

.arrow {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 15px;
  top: 12px;
  transform: rotate(45deg);
  border-bottom: 3px white solid;
  border-right: 3px white solid;
}
<div class="circle">
  <div class="arrow"></div>
</div>

3

  • Vlw brother, that’s right! Thank you

  • 1

    @Clayton if the answer solved your problem you can click to mark as accepted.

1


You can do with Html5 too if you prefer.

And only use css to rotate and increase/decrease the size.

.arrow {
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}
<div class="arrow">&#10095;</div>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.