asked on
<div class="logo"><a href="index.php"><img src="resources/images/Logos/Lowsun2.png" alt="Logo"></a></div>
https://arise.plusASKER
.logo{
max-width: 200px;
width: 15%;
}
.logo img{
width: 100%;
}
@media (max-width: 365px) {
.logo{
max-width: 200px;
width: 15%;
}
.logo img{
width: 100%;
}
}
How can I adjust the logo size to be bigger for the mobile portrait mode?To further extend David's suggestion, you can set the specific size under orientation: portrait mode.
@media (orientation: portrait)
{
//your csss
}
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/orientation
ASKER
@media (orientation: portrait) {
.logo{
max-width: 200px;
width: 15%;
}
.logo img{
width: 100%;
}
}
ASKER
HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.
TRUSTED BY
Likely Fix: Change the CSS class of your logo to be separate from your menu items, then use different @media... screen size breaks... to adjust your logo font.