CSSで吹き出しを作成する方法
HTMLとCSSで簡単な吹き出しを作成する方法をメモ書き程度に残しておきます。
もともと、Wordpressでやっているブログのちょっとしたデザイン変更で書いたけれど、何となくいらなくなった。
デモは以下のような感じ。
【デモデザイン】 CSSで作る吹き出しデザイン
html
<p>
<span class="check-point-ballon">
Point
</span>
吹き出しを作成したよ
</p>
css
.check-point-ballon {
background-color: #415cf5;
padding: 9px;
color: white;
border-radius: 9px;
text-align: center;
position: relative;
margin-right: 10px;
}
.check-point-ballon::before {
content: '';
position: absolute;
right: -22px;
border-style: solid;
border-width: 13px;
border-color: transparent transparent transparent #415cf5;
}
Author And Source
この問題について(CSSで吹き出しを作成する方法), 我々は、より多くの情報をここで見つけました https://qiita.com/Daara_y/items/366171883ded8ad3805d著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .