I've been struggling for weeks.
Like Sak said it's about media queries; all a media query is putting in your styles as:
@media all and (min-width: 480px) {
conditions in here
}
Google media queries for list of different types. Mainly done in % by parents being a % etc.