반응형
<!doctype html>
<html lang="ko">
 <head>
  <meta charset="UTF-8">
  <title>박스모델</title>
  <style>
  	div{
		width: 200px;
		height: 100px;
		display: inline-block;
		margin: 15px;
		border-width: 5px; /*테두리 굵기*/
		}
		.box1 {border-style: inset;
			   border-top-width: 1px; border-left-width: 1px; text-align: center;
			   border-top-color: red;
			   border-right-color: green; border-bottom-color: green;			   border-bottom-right-radius:50% 50%;
			   box-shadow:2px -2px 5px 0px black;} /*실선*/
		.box2 {border-style: dotted;box-shadow:2px -2px 5px 0px black;} /*점선*/
		.box3 {border-style: dashed;} /*선으로 된 점선*/
  </style>
 </head>
 <body>
	<div class="box1">으아악</div>
	<div class="box2"></div>
	<div class="box3"></div>
 </body>
</html>
반응형

'2019~2020 > 웹 프로그래밍 (PHP)' 카테고리의 다른 글

화면에 출력하기  (0) 2019.08.25
BOX  (0) 2019.08.25
웹 폰트 적용하기  (0) 2019.08.25
웹 폰트 사용하기  (0) 2019.08.25
Transform  (0) 2019.08.25

+ Recent posts