perl Mojolicious:5 2ch

<html>

<head>
<link rel="stylesheet" href="default.css" type="text/css" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
</head>

<body>

<div id="for_print">
■1 for_print 印刷表示用
</div>
<div id="for_detail">
■2 for_detail 一般詳細表示用
</div>


</body>
</html>


print.css
#for_print{
visibility:visible;
display: block;
font-size:24px;
}
#for_detail{
display: none;
}




default.css
#for_print{
display: none;
}
#for_detail{
visibility:visible;
}