Good morning, I have a doubt, in which I'm already working for some time, I'm new to working with html and css, I'm doing a chat (it's already finished), now I'm defining the styles to leave more [1]] [1], for example I have so, if the message has only 1 line, it's my real problem and when I write 1 text greater
I have two divs where one will contain the text and another to give the effect, this and the css I currently have.
.response{
-webkit-box-shadow: 9px 17px 46px -10px rgba(0,0,0,0.26);
-moz-box-shadow: 7px 17px 46px -10px rgba(0,0,0,0.26);
box-shadow: 7px 17px 46px -10px rgba(0,0,0,0.26);
background-color: #00aeef;
border-width: 1px;
border-color: #00aeef;
border-style: solid;
margin: 10px;
width: 35%;
position: relative;
margin-left: 55.5px;
margin-top: -45px;
color: white;
font-family: Muli-Regular;
font-size: 14px;
border-top-left-radius: 60px;
border-top-right-radius: 60px;
border-bottom-right-radius: 60px;
min-width: 28%;
max-height: 100%;
max-width: 28%;
word-wrap: break-word;
}
.effect2{
-webkit-box-shadow: 7px 17px 46px -10px rgba(0,0,0,0.26);
-moz-box-shadow: 7px 17px 46px -10px rgba(0,0,0,0.26);
box-shadow: 7px 17px 46px -10px rgba(0,0,0,0.26);
background-color: #00aeef;
width: 83px;
margin-top: -40px;
margin-left: 5px;
border-bottom-left-radius: 20px;
min-height: 30px;
max-height: 30%;
}