---
title: "#333 — How display:contents works, Chrome DevTools tips and a focus on SVG"
publication: "Frontend Focus"
issue: 333
published_at: "2018-03-28"
canonical_url: "https://frontendfoc.us/issues/333"
---

This week's HTML, CSS, browser, and frontend news       

#333 — March 28, 2018 

[Read on the Web](https://frontendfoc.us/issues/333)   

Frontend Focus   

**✏️ A Focus on SVG** 

This week we've brought together a collection of tools, tips and tutorials on all things SVG. The vector graphics format is now [heavily supported across all major browsers](https://caniuse.com/#feat=svg) and is being used in increasingly creative ways. 

A section of the newsletter dedicated to a particluar technology or tool is something new that we're experiementing with — so, as ever your feedback and thoughts are appreciated. Just hit reply and we'll see your email. 🙂
 _— Chris Brandrick, Editor_    

[How 'display: contents' Works](https://bitsofco.de/how-display-contents-works/) — `display: contents` makes an element’s children appear as direct children of the element’s parent, ignoring the element itself. This explains how it works and _why_ you might want to use it. For now, it’s only in the current releases of Firefox & Chrome but support is growing. 

Ire Aderinokun   

[12 Chrome DevTools Tips and Tricks](https://medium.freecodecamp.org/cool-chrome-devtools-tips-and-tricks-you-wish-you-knew-already-f54f65df88d2) — The DevTools gain new features all the time, so it’s always worth keeping an eye on ways to use it. Here’s a collection of quick tips that may prove handy. 

Flavio Copes   [![\](https://copm.s3.amazonaws.com/6207d9ae.png)](https://www.telerik.com/campaigns/kendo-ui/wp-choosing-js-framework?utm_medium=cpm&utm_source=frontendfocus&utm_campaign=kendo-ui-jquery-whitepaper-choos%D0%B5jsframework&utm_content=primary) 

[Angular, React or Vue?](https://www.telerik.com/campaigns/kendo-ui/wp-choosing-js-framework?utm_medium=cpm&utm_source=frontendfocus&utm_campaign=kendo-ui-jquery-whitepaper-choos%D0%B5jsframework&utm_content=primary) — How do you choose one JavaScript framework over another for your next web application? Our new whitepaper gives insight into the current state of Angular, React and Vue and how they compare against a comprehensive set of criteria. [Download now](https://www.telerik.com/campaigns/kendo-ui/wp-choosing-js-framework?utm_medium=cpm&utm_source=frontendfocus&utm_campaign=kendo-ui-jquery-whitepaper-choos%D0%B5jsframework&utm_content=primary). 

Progress Kendo UI sponsor   

[Working with the New CSS Typed Object Model](https://developers.google.com/web/updates/2018/03/cssom) — The CSS Typed Object Model brings types, methods, and a flexible object model to working with CSS values in JavaScript. _(Part of the Houdini effort and initially shipped in Chrome 66.)_ 

Eric Bidelman   

[Bringing Interactive Examples to MDN](https://hacks.mozilla.org/2018/03/bringing-interactive-examples-to-mdn/) — Mozilla has been working on a project to bring interactive examples to pages on the wildly popular [MDN Web Docs](https://developer.mozilla.org/en-US/) site. Some examples: [rotate3d](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate3d), [clip-path](https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path), and [‘audio’ element](https://developer.mozilla.org/en-US/docs/User:wbamberg/HTML_editor_user_test_pages/audio). 

Mozilla Hacks   

[How to Create a Snake Highlight Animation with 'anime-js'](https://blog.prototypr.io/how-to-create-the-snake-highlight-animation-with-anime-js-bf9c6cb66434) — A look behind the scenes at a simple but effective SVG line animation that moves as focus shifts on a Web form. 

Mikael Ainalem  

[![\](https://res.cloudinary.com/cpress/image/upload/w_800/yngeob9bb5enmmyp50r3.jpg)](https://aftertheflood.co/projects/sparks/)  

[Sparks: A Font to Display Sparklines without Code](https://aftertheflood.co/projects/sparks/) — Uses OpenType features to replace numbers with basic bar, dot, or dot-line charts. [GitHub repo.](https://github.com/aftertheflood/sparks) 

After the Flood   

[Introducing the Microsoft Edge DevTools Protocol](https://docs.microsoft.com/en-us/microsoft-edge/devtools-protocol/) — Designed to align closely with the Chrome DevTools Protocol. 

Microsoft Edge Development   

▶[The Future of Web Layout](https://www.youtube.com/watch?v=LUMkgn_xtlg) — Rachel Andrew, Jason Pamental, and Jeremy Osborn discuss advances in web layout techniques that will impact web developers. 

Jeremy Osborn   

[Using Ethics in Web Design](https://www.smashingmagazine.com/2018/03/using-ethics-in-web-design/) — Considers the role of _ethics_, norms, and expectations and how they relate to the digital works you create. 

Morten Rand-Hendriksen  

💻 Jobs  

[JavaScript Engineer (Berlin)](https://jobs.zalando.com/jobs/791751-senior-javascript-engineer-a-b-testing-tracking/?utm_source=front-end-focus&utm_medium=email-p-paid&utm_campaign=2018-egn&utm_content=03-fef-4&gh_src=4xb2c1lc1) — Provide state of the art A/B testing, tracking data collection and analysis services on our Product Analytics team. 

ZALANDO   

[Sr. Fullstack Engineer (Remote)](https://www.stickermule.com/careers) — Sticker Mule is looking for passionate developers to join our remote team. Come help us become the Internet’s best place to shop and work. 

Sticker Mule   

[Front-End Expert? Sign Up for Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-frontendfocus&utm_term=tech&utm_content=grouped&utm_campaign=ad-19590) — Create your profile and we’ll connect you with top companies looking for talented front-end developers. 

Vettery  

📙 Tutorials  

[Accessible HTML: A Crash Course in ARIA Landmark Regions](https://medium.com/c2-group/creating-accessible-html-a-crash-course-in-aria-landmark-regions-40513850298b) 

Genevieve Nelson   

[How to Access MongoDB Directly from Your Web or Mobile App](https://docs.mongodb.com/stitch/tutorials/todo-web/?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY19Q1&utm_content=20180328&utm_medium=display&utm_source=frontendfocus) 

MONGODB sponsor   

[Get Started Building .NET Webapps That Run in the Browser with Blazor](https://blogs.msdn.microsoft.com/webdev/2018/03/22/get-started-building-net-web-apps-in-the-browser-with-blazor/) — An experimental .NET framework using C#/Razor and HTML that runs in the browser with WebAssembly. 

Microsoft   

▶[A Primer on CSS Blend Modes and Why To Use Them](https://www.youtube.com/watch?v=XZmvHVVj0Ns) 

Una Kravets   

[Adding Favicons in a Multi-Browser Multi-Platform World](https://mobiforge.com/design-development/adding-favicons-in-a-multi-browser-multi-platform-world) — A refresher on what needs to be done to have a favicon show up everywhere you’d expect it to. 

Ruadhán O'Donoghue   

[Sticky as a Local Fixed?](https://css-tricks.com/sticky-as-a-local-fixed/) — A CSS transform on a fixed element can create a local context for a nested position: fixed element, as in this example. 

Chris Coyier   

✏️ A **Focus** on Scalable Vector Graphics (SVG)  

[A Practical Guide to SVGs on the Web](https://svgontheweb.com/) — A superb, single page guide packed with practical advice and tips on how best to use SVGs on your sites. 

Jake Giltsoff   

▶[SVG Can Do That?](https://www.youtube.com/watch?v=ADXX4fmWHbo) — A dive into the creative wilds of this graphic format built with math. 

Sarah Drasner   

▶[The Wonderful World of SVG](https://www.youtube.com/watch?v=tsGa-gcckwY) — How to style SVGs with CSS, animate them with JS, and more. 

Chris Coyier   

[Making Multi-Colored Icons with SVG Symbols & CSS Variables](https://medium.freecodecamp.org/lets-make-your-svg-symbol-icons-multi-colored-with-css-variables-cddd1769fca4) 

Sarah Dayan   

[Bounty: An SVG-Based Odometer Effect Library](http://slides.com/coderitual/odoo-js#/) — Both a neat visual effect and a good example of explaining a library, and how it works, in a slide-deck. The library itself is [here on GitHub.](https://github.com/coderitual/bounty) 

Michał Skowronek  

[![\](https://res.cloudinary.com/cpress/image/upload/w_800/srj0cy7qimakvz1p2cwj.jpg)](https://spotify.github.io/coordinator/)  

[Coördinator: Turns an SVG Into Many X, Y Coordinates](https://spotify.github.io/coordinator/) — Quite a specific tool but very well put together. [The Why.](https://labs.spotify.com/2018/03/02/introducing-coordinator-a-new-open-source-project-made-at-spotify-to-inject-some-whimsy-into-data-visualizations/) 

Aliza Aufrichtig   

▶[Why Inline SVG is Best SVG](https://www.youtube.com/watch?v=af4ZQJ14yu8) 

Front End Center   

[Customizable SVG Patterns and Background Designs](https://www.svgbackgrounds.com/) 

Matthew Lipman   

[A Comprehensive Guide to Clipping and Masking in SVG](https://webdesign.tutsplus.com/tutorials/a-comprehensive-guide-to-clipping-and-masking-in-svg--cms-30380) 

Dennis Gaebel   

🔧 Code and Tools  

[Axe 3.0 Released: The Automated Accessibility Testing Library](https://www.deque.com/blog/axe-3-0-has-arrived/) 

Marcy Sutton   

[CSS Gradient Generator](https://cssgradient.io/) — A nice, simple to use CSS gradient generator, with options for both linear and radial outputs. 

Moe Amaya   

[Get the Best, Most Complete Collection of Angular UI Controls: Wijmo](https://www.grapecity.com/en/angular?utm_source=FrontEndFocus&utm_medium=Newsletter&utm_campaign=Wijmo_03-18) — Wijmo’s dependency-free UI controls include rich declarative markup, full IntelliSense, & the best data grid. 

GrapeCity Wijmo sponsor   

[Micron.js: A Micro Interaction Library](https://webkul.github.io/micron/) — Add visual interactions to DOM elements Powered by CSS animations. 

Webkul   

[Tabler: An HTML Dashboard Theme Built on Bootstrap 4](https://github.com/tabler/tabler) 

Paweł Kuna   

[DrawerJS: A Customizable HTML Canvas Drawing Tool](https://github.com/carstenschaefer/DrawerJs) — [Live demo here.](https://carstenschaefer.github.io/DrawerJs/examples/fullscreen/) 

Carsten Schäfer   

[Build Better Apps Faster with a Single, Enterprise-Ready Framework: Ext JS](https://www.sencha.com/products/extjs/evaluate/?utm_source=cooperpress-fef&utm_medium=tpe&utm_campaign=pt-sncextjs&utm_content=032818-pt-sncextjs-ofnd-tpe&opt_id=ejof) 

Sencha, Inc. sponsor   

[A Gradient Shadow in Pure CSS](https://gist.github.com/tunguskha/0d82bfeb498567a4e19493925df529cb) 

Fabien Tungu         

A **[Cooperpress](https://cooperpress.com/)** publication. 

[Change your email address](https://frontendfoc.us/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
