Content

Board ID 648
Writer heojk
Write Date 2017-04-26 12:40:50
Subject CSS 미디어 쿼리 - print 예
Content media_print.html
<!DOCTYPE html>
<html>
<head>
<meta charset="euc-kr">
<title>media print test</title>
<link rel="stylesheet" href="print.css" media="print" />
</head>
<body>
<a href="http://www.javaspecialist.co.kr">자바전문가그룹</a><br>
<a href="http://www.naver.com">네이버</a><br>
<a href="http://www.daum.net">다음</a><br>
</body>
</html>
print.css
a:after {
	content: " (" attr(href) ") ";
}
실행결과