height: 66.6vh;
height: 100%
img {
max-width: 100%;
height: auto;
}
<style>
#my-paragraph {
width: 50%;
height: 100px;
background-color: pink;
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
@media print {
/* استایل هایی که برای چاپ اعمال می شوند */
body {
font-size: 10pt;
}
a[href]:after {
content: "(" attr(href) ")";
/* ... */
}
}