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

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

· 9년 전 · 213

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

 

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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
12386
12385
12384
12380
12379
12378
12377
12376
12375
12374
12373
12372
12371
12369
368
12368
12367
12366
12365
12363
12362
12361
12360
12359
12358