Johannes Schuh
Johannes Schuh

Reputation: 52

Positioning a div in navigation


On my website I have a navigation with a news tab. If I post new things, there appears a small notification above the news tab (similar to iOS).
It looks pretty fine, but on my mobile version the positioning of the notification doesn't look the same (I can't find out why).
How do I have to adjust the css?
Here is my website: http://calendar.pineappledeveloper.com
(You can pull the browser window smaller to see the mobile version)

Upvotes: 0

Views: 54

Answers (1)

user5722584
user5722584

Reputation:

You can fix that using @media and max-width

@media (max-width: 500px) {
.element {
    /* Your changes here */
}
}

Add changes and all should be fine.

Upvotes: 1

Related Questions