마우스 오버시 이미지 안쪽에 테두리주기

· 2016-01-19 (화) 15:25:29 · 428

필요하실수도 있을것 같아 올립니다.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">

<head>

<title>이미지 마우스 오버시 이미지 안쪽에 테두리 주기</title>

<meta http-equiv="content-type" content="text/html;charset=utf-8">

<style type="text/css" media="screen">

a.innerborder, a.innerborder img {

 float: left;

 overflow:hidden;

}

a.innerborder:hover {

 border:4px solid #f00;

}

a.innerborder:hover img {

 margin: -4px;

}

</style>

<meta http-equiv="imagetoolbar" content="no">

</head>

<body>

 

 

<h1>이미지 마우스 오버시 이미지 안쪽에 테두리 주기</h1>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt=""  border="0" />

</a>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt="" border="0" />

</a>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt="" border="0" />

</a>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt="" border="0" />

</a>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt="" border="0" />

</a>

<a href="#" class="innerborder">

  <img src="http://cfile23.uf.tistory.com/image/1113A6094A0D79C00D1A4B" alt="" border="0" />

</a>

</body>

</html>

|
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
16-01-30 조회 438
16-01-30 조회 578
16-01-30 조회 459
16-01-30 조회 482
16-01-29 조회 471
16-01-28 조회 424
16-01-28 조회 413
16-01-27 조회 405
16-01-26 조회 371
16-01-26 조회 434
16-01-25 조회 457
16-01-22 조회 422
16-01-22 조회 520
16-01-21 조회 448
16-01-19 조회 387
16-01-19 조회 424
16-01-18 조회 372
16-01-17 조회 590
16-01-14 조회 467
16-01-13 조회 676
16-01-12 조회 549
16-01-12 조회 461
16-01-11 조회 385
15-12-30 조회 918
15-12-29 조회 502