테스트 사이트 - 개발 중인 베타 버전입니다

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

· 9년 전 · 201

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

 

<!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>

댓글 작성

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

로그인하기

게시글 목록

번호 제목
12438
12437
12436
12435
12434
12433
12432
12431
12430
12429
12428
12427
12426
12425
12424
12423
12422
12421
12420
12419
12418
12417
12416
12415
12414