서

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

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

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

 

<!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-03-02 조회 837
16-01-19 조회 461
15-12-23 조회 622
15-12-08 조회 1,273
14-10-30 조회 2,852
14-06-06 조회 2,268
12-08-30 조회 1,478
12-08-20 조회 1,261
12-07-15 조회 2,671
12-07-13 조회 1,447
12-07-06 조회 1,442
12-06-27 조회 1,004
12-06-23 조회 1,117
12-05-03 조회 3,079
12-04-20 조회 2,030
12-03-29 조회 2,346
12-03-22 조회 2,684
12-03-22 조회 1,431
12-03-21 조회 1,267
12-03-11 조회 1,609
12-03-06 조회 1,877
12-02-22 조회 2,220
12-02-17 조회 1,201
12-02-17 조회 4,248
12-02-14 조회 3,866