Search
 
SCRIPT & CODE EXAMPLE
 

CSS

ios sms css

body {
  font-family: "Helvetica Neue";
  font-size: 20px;
  font-weight: normal;
}

section {
  max-width: 450px;
  margin: 50px auto;
}
section div {
  max-width: 255px;
  word-wrap: break-word;
  margin-bottom: 20px;
  line-height: 24px;
}

.clear {
  clear: both;
}

.from-me {
  position: relative;
  padding: 10px 20px;
  color: white;
  background: #0B93F6;
  border-radius: 25px;
  float: right;
}
.from-me:before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -2px;
  right: -7px;
  height: 20px;
  border-right: 20px solid #0B93F6;
  border-bottom-left-radius: 16px 14px;
  -webkit-transform: translate(0, -2px);
}
.from-me:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -2px;
  right: -56px;
  width: 26px;
  height: 20px;
  background: white;
  border-bottom-left-radius: 10px;
  -webkit-transform: translate(-30px, -2px);
}

.from-them {
  position: relative;
  padding: 10px 20px;
  background: #E5E5EA;
  border-radius: 25px;
  color: black;
  float: left;
}
.from-them:before {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -2px;
  left: -7px;
  height: 20px;
  border-left: 20px solid #E5E5EA;
  border-bottom-right-radius: 16px 14px;
  -webkit-transform: translate(0, -2px);
}
.from-them:after {
  content: "";
  position: absolute;
  z-index: 3;
  bottom: -2px;
  left: 4px;
  width: 26px;
  height: 20px;
  background: white;
  border-bottom-right-radius: 10px;
  -webkit-transform: translate(-30px, -2px);
}
Comment

ios sms css

<section>
    <div class="from-me">
      <p>Hey there! What's up?</p>
    </div>
  <div class="clear"></div>
    <div class="from-them">
      <p>Checking out iOS7 you know..</p>
    </div>
  <div class="clear"></div>
    <div class="from-me">
      <p>Check out this bubble!</p>
    </div>
  <div class="clear"></div>
    <div class="from-them">
      <p>It's pretty cool!</p>
    </div>
  <div class="clear"></div>
    <div class="from-me">
      <p>Yeah it's pure CSS & HTML</p>
    </div>
  <div class="clear"></div>
    <div class="from-them">
      <p>Wow that's impressive. But what's even more impressive is that this bubble is really high.</p>
    </div>
  </section>
Comment

PREVIOUS NEXT
Code Example
Css :: prevenrt div with height 100% from growing up 
Css :: vervaging en verloop css 
Css :: Pass argument to group_by 
Css :: Create a addition element in center and rotate it 
Css :: transform translate css 
Css :: CSS Print a Sass @debug message 
Css :: sass variables across files 
Css :: how to center each line of p class in csss 
Css :: backface-visibility sass 
Css :: how to override bootstrap css in wordpress 
Css :: css cap rows paragraph 
Css :: css lobotomized owl 
Css :: css animation cheat sheet 
Css :: css youtube video get rid of black border 
Css :: The CSS to make all the columns equal in width is as follows 
Css :: fira code cdn 
Css :: studio 3t restore snapshot 
Css :: css input auto-correct color 
Css :: nuxt css other site 
Css :: css tricks 
Css :: All Stylesheet Media Types 
Css :: css only style horizontal scrollbar 
Typescript :: how to remove dots from li 
Typescript :: smooth scroll in viewportscroller 
Typescript :: import moment 
Typescript :: delete all child elements jquery 
Typescript :: tolowercase typescript 
Typescript :: vue : File C:UsersMTP Nabeel AhmedAppDataRoaming pmvue.ps1 cannot be loaded because running scripts is disabled on this system. 
Typescript :: react typescript onclick stop propagation 
Typescript :: vue typescript extend component option 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =