3
Good morning, I have a doubt, in which I’ve been battling for some time, I’m new to working with html and css, I’m doing a chat (already finished), now I’m defining the styles to make it cuter, I need something of the genre,[! [insert image description here][1][1], for example I have so, if the message only has 1 line is good, my real problem and when I write 1 larger text
I have two Divs one where will contain the text and another to give the effect, this and the css that 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%;
}
What’s the doubt? Post also the code because only with image is difficult to help.
– Laerte
Okay, but what’s your question? It wasn’t clear to me. Don’t forget to include the
CSS
in the question, if possible creating an example that works so we can understand the problem. If in doubt, please read this: https://answall.com/help/mcve– Ricardo Pontual