From the course: Dreamweaver CC Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add a media query - Dreamweaver Tutorial
From the course: Dreamweaver CC Essential Training
Add a media query
- [Instructor] In the early days of developing responsive websites, it was common to set breakpoints for media queries based on specific devices, such as the iPhone or iPad. But there are so many different screen sizes these days, it's better to set breakpoints and media queries according to the needs of the layout. In this exercise, we'll set a new breakpoint and move some styles to the new media query. At the moment the style sheet attached to this page contains only one media query, there it is in the @Media pane, it's min width 680 pixels. So, in other words, it applies different styles at a minimum screen width of 680 pixels. To see what the page will look like at 680 pixels wide, click the Visual Media Query bar just to the right of 680 pixels, and Live View resizes to that size. And immediately we can see a problem there, the icons in the Navigation Bar, most of them are really bunched up tight against the text, and in the last one it's actually behind the text, so obviously…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
CSS workflows in Dreamweaver CC 20172m 4s
-
(Locked)
Set CSS preferences6m 6s
-
(Locked)
CSS Designer overview7m 41s
-
(Locked)
Attach an external style sheet11m 15s
-
(Locked)
Create a new CSS rule in the CSS Designer9m 1s
-
Styling text8m 18s
-
(Locked)
Use an Adobe Edge web font7m 20s
-
(Locked)
Create a custom font stack3m 43s
-
(Locked)
Style links6m 32s
-
(Locked)
Style basic layout properties9m 42s
-
(Locked)
Style borders3m 37s
-
(Locked)
Style background properties8m 50s
-
(Locked)
Style additional properties3m 53s
-
(Locked)
Add a media query8m 22s
-
(Locked)
Use CSS Inspect3m 47s
-
(Locked)
-
-
-
-