시작페이지로 즐겨찾기추가
로그인
회원가입 l 출석체크 l 마이페이지 l CGIMALL
happycgi
자료실 사이트등록 랭킹100 프로그램리뷰 관리자추천자료 초보가이드
커뮤니티
전체 펼쳐보기
퀵메뉴링크 jquery , CSS , PHP , Javascript , 무료폰트 , ASP
상세검색
 > CSS > 기타효과 > Comic Speech Bubbles 상세정보
사이트등록
클라우드태그
Javascript
php
CSS
ASP
HTML
jquery
MYSQL
api
image
Mobile
slide
게시판
메뉴
현재접속자 208 새로고침
Comic Speech Bubbles
소스통계정보 오류신고 및 문의
해피팀
네티즌
트위터로 보내기 페이스북으로 보내기 네이버로공유
소스분류 기타효과
다운로드 횟수 6 회
간단설명 말풍선 디자인 입니다.
평가하기 훌륭함 매우좋음 좋음 괜찮음 보통 별로
홈페이지바로가기 소스다운로드 데모 미리보기 스크랩하기



HTML과 CSS로 제작된 말풍선 디자인 입니다.
코드 및 데모는 데모링크를 통해서 확인하실 수 있습니다.

HTML
 <div class="wrapper">
<div class="bubble circle"></div>
<div class="bubble oval"></div>
<div class="bubble oval rounded"></div>
<div class="bubble egg"></div>
<div class="bubble egg-shaped"></div>
<div class="bubble egg-shaped rounded"></div>
<div class="bubble square"></div>
<div class="bubble rectangle"></div>
<div class="bubble rectangle rounded"></div>
</div>


CSS
:root {
--c1: #fbfdfa;
--c2: #cbdce5;
 
}
 
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(45deg, #ccd9e2, #eaedf2);
}
 
body * {
box-sizing: border-box;
}
 
.wrapper {
width: 90vmin;
height: 90vmin;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
align-content: space-around;
margin-top: -5vmin;
filter: 
drop-shadow(-0.1vmin 0.2vmin 0.01vmin #7ea2bc90) 
drop-shadow(-0.2vmin 0.3vmin 0.01vmin #7ea2bc80) 
drop-shadow(-0.3vmin 0.4vmin 0.01vmin #7ea2bc70) 
drop-shadow(-0.4vmin 0.5vmin 0.01vmin #7ea2bc60)  
drop-shadow(-0.5vmin 0.6vmin 0.01vmin #7ea2bc50)  
drop-shadow(-0.6vmin 0.7vmin 0.01vmin #7ea2bc40)   
drop-shadow(-0.7vmin 0.8vmin 0.01vmin #7ea2bc30)  
drop-shadow(-0.8vmin 0.9vmin 0.01vmin #7ea2bc20)  
drop-shadow(-0.9vmin 1vmin 0.01vmin #7ea2bc10);
}
 
.bubble {
width: 20vmin;
height: 20vmin;
border-radius: 1vmin;
position: relative;
background: linear-gradient(25deg, var(--c1), var(--c2));
box-shadow: -0.25vmin 0.25vmin 0.25vmin 0.05vmin #fff inset;
}
 
.bubble.circle {
border-radius: 100%;
}
 
.bubble.square {
width: 20vmin;
}
 
.bubble.rectangle {
width: 30vmin;
}
 
.bubble.rounded {
border-radius: 5vmin;
}
 
.bubble.oval {
width: 30vmin;
border-radius: 10vmin;
}
 
.bubble.oval.rounded {
width: 30vmin;
border-radius: 100%;
}
 
.bubble.egg {
border-radius: 75% 55% 75% 55% / 55% 55% 67% 75%;
}
 
.bubble.egg-shaped {
width: 30vmin;
border-radius: 70% 40% 65% 45% / 75% 80% 65% 60%;
}
 
.bubble.egg-shaped.rounded {
border-radius: 75% 55% 75% 55% / 55% 55% 67% 75%;
}
 
.bubble:after {
--beak: #f2f7f6;
content: "";
position: absolute;
box-sizing: border-box;
width: 6vmin;
height: 6vmin;
bottom: -5.75vmin;
right: 7vmin;
background-repeat: no-repeat;
background: linear-gradient(-135deg, var(--beak) 0 4.25vmin, #fff0 0 100%);
}
 
.bubble.circle:after {
right: 6vmin;
--beak: #f3f8f7;
}
 
.bubble.rectangle:after {
--beak: #edf3f4;
}
 
.bubble.oval.rounded:after {
right: 10vmin;
}
 
.bubble.egg-shaped:after {
right: 12vmin;
}
 
.bubble.circle:after,
.bubble.oval:after,
.bubble.egg:after,
.bubble.egg-shaped:after {
background: radial-gradient(circle at 150% 35%, #fff0 5vmin, var(--beak) calc(5vmin + 1px) 100%);
border-radius: 0 0 0 100%;
bottom: -5.5vmin;
--beak: #f3f8f7;
width: 7vmin;
}
.bubble.oval:after {
--beak: #eef4f4;
}

 

네티즌 의견   이용하신 자료의 후기를 자유롭게 작성하세요. (상업적인 광고 및 도배성 글 등은 사전통보없이 삭제될 수 있습니다.)
내용 아이디 의견남기기
등록된 의견이 없습니다.
1
이름
내용
:네맞아요: :화나는군요: :잠와: :우울해: :이건아냐: :왕하하: 왕웃음~ 놀램~
평가하기 훌륭함 매우좋음 좋음 괜찮음 보통 별로
도배방지키
 13104628 보이는 도배방지키를 입력하세요.