We need to create a hint with a small triangle on top:
html
<div class="title"> <div class="title-wrapper"> <p>Далеко-далеко за словесными горами в стране, гласных и согласных живут рыбные тексты. Все знаках, составитель, пунктуация они предложения родного там большой великий на берегу рукописи, за рыбными то бросил заманивший взгляд злых рекламных.</p> </div> </div>
styles
.title position: relative border: 1px solid #afafb0 border-radius: 10px background-color: #f6f6f6 &:before content: "" position: absolute width: 15px height: 1px transform: rotate(135deg) bottom: -6px left: 65px background-color: #afafb0 &:after content: "" position: absolute width: 15px height: 1px transform: rotate(-135deg) bottom: -6px left: 55px background-color: #afafb0 &-wrapper p margin: 0 padding: 20px 30px line-height: 24px text-align: left font-size: 12px line-height: 20px color: #333
Need help with the bgc of the triangle itself and a piece of the border of the tooltip itself, you need to somehow hide it, what would happen like this: