On Github blaketarter / dev-tools-presentation
By: Blake Tarter
@itsblaketarter Presentation can be found here.I built this using reveal.js
Super simple Presentation framework using pure dom elements.
⌘ (Command) + option + i or ctr + shift + i on windows
Or for those who dont like keyboard shortcuts
Right Click -> Inspect Element
Chrome Dev tools have the ability to emulate both mobile devices and mobile networks.
This is a usefull tool when working with responsive design.
To turn on Emulation just click on the mobile device icon in the top left of the dev tools.
Just select a device from the dropdown list then refresh the page to reload user agent information.
Throttling works the same way as selecting a device, just choose your level of throttling from the list.
Viewing the breakpoints/media queries that are set up are easy as well.
While not functionally usefull customizing the look of the dev tools can make these tools much more enjoyable to use.
To enable customization go to
chrome://flags/#enable-devtools-experiments
and check Enable Developer Tools experiments.
Just go to the chrome web store and find a theme you like and the dev tools should be re themed, a chrome re-start might be required.
For anyone who uses the javscript console the Command Line API is indespensable. It has a heap of tools that range in uses.
Do note that these are only available for use in the Chrome Dev Tools console and not in any actual script.
$ maps to
document.querySelector
and $$ maps to
document.querySelectorAll
Even without jQuery loaded on the page these work almost like jQuery selectors.
$_ simply returns the value of the last evaluated expression
$n returns the nth selected DOM node from the elements list, from 0 - 4 are remembered.