---
title: "#328: Everything You Need to Know About CSS Variables"
publication: "Frontend Focus"
issue: 328
published_at: "2018-02-21"
canonical_url: "https://frontendfoc.us/issues/328"
---

#328: Everything You Need to Know About CSS Variables

This Week's HTML, CSS, Browser, and Frontend News — [Read this e-mail on the Web](http://frontendfoc.us/issues/328)

Frontend FocusIssue 328 — February 21, 2018[How Chrome's New Ad Filtering Works](https://blog.chromium.org/2018/02/how-chromes-ad-filtering-works.html?utm_source=frontendfocus&utm_medium=email)Chrome has now begun to block ads that don’t meet the [Better Ads Standards](https://www.betterads.org/standards/). What does this mean and how does it work? Google 
[Everything You Need to Know About CSS Variables](https://medium.freecodecamp.org/everything-you-need-to-know-about-css-variables-c74d922ea855?utm_source=frontendfocus&utm_medium=email)How variables work natively in CSS, and how to use them to make your life a lot easier. Ohans Emmanuel 
[Shipping System Fonts to GitHub.com](http://markdotto.com/2018/02/07/github-system-fonts/?utm_source=frontendfocus&utm_medium=email)An explainer on why GitHub began to focus on system fonts, how they coded and tested it, and what they’ve done since making the change. Mark Otto 
[Fix JavaScript Bugs Like a Boss 🛠](https://rollbar.com/error-tracking/javascript/?utm_medium=email-nl&utm_campaign=frontendfocus&utm_source=frontendfocus&utm_term=primary)Instantly know whats broken and why. Get real-time monitoring, alerting, analytics for JavaScript errors, and worry less about breaking things. [Learn more](https://rollbar.com/error-tracking/javascript/?utm_medium=email-nl&utm_campaign=frontendfocus&utm_source=frontendfocus&utm_term=primary). ROLLBARSponsor
[A Front End Interview Handbook](https://github.com/yangshun/front-end-interview-handbook?utm_source=frontendfocus&utm_medium=email)Headed to a job interview any time soon? Here are some questions (and answers) worth being prepared for. Yangshun Tay 
[HTTPS or Bust: Chrome’s Plan to Label Sites as 'Not Secure'](https://blog.cloudflare.com/https-or-bust-chromes-plan-to-label-sites-as-not-secure/?utm_source=frontendfocus&utm_medium=email)Starting this July, with the release of Chrome 68, non-HTTPS sites will be marked as ‘not secure’. This post is an extensive review of HTTPS ubiquity, how we got here, and what happens next. Patrick R. Donahue 
[An Approach to Keylogging with CSS](https://github.com/maxchehab/CSS-Keylogging?utm_source=frontendfocus&utm_medium=email)Interesting proof of concept using CSS to log keypresses under certain conditions. Max Chehab 
[Variable Order Tables using CSS Variables](http://kizu.ru/en/blog/variable-order/?utm_source=frontendfocus&utm_medium=email)A neat HTML/CSS only experiment, using CSS Custom Properties to order a table and sort its contents by ascending/descending order. Roman Komarov 
[Designing A Perfect Responsive Configurator](https://www.smashingmagazine.com/2018/02/designing-a-perfect-responsive-configurator/?utm_source=frontendfocus&utm_medium=email)Dives deep into the dos and don’ts of designing a responsive Web-based product configurator, with a checklist of things to use and keep in mind. Smashing Magazine 


Jobs

- [Senior Front End Engineer at Plectica (New York, NY)](https://www.plectica.com/jobs/senior-front-end-software-engineer?utm_source=frontendfocus&utm_medium=email)Come build a beautiful collaborative platform for visual brainstorming and thinking with SVG, WebSockets and all sorts of other fun. Plectica
- [Lead React/Redux Engineer - Remote, SF, or Halifax, Canada](https://jobs.careerbeacon.com/details/lead-frontend-engineer-reactredux/951059?utm_source=frontendfocus&utm_medium=email)We’re an ambitious startup seeking an experienced front-end engineer to bring our React architecture forward. Manifold
- [Find a Job You're Passionate About](https://www.vettery.com/tech?utm_medium=cooper-frontendfocus&utm_campaign=ad-9310&utm_source=newsletter&utm_content=grouped&utm_term=tech)Vettery connects you directly to hiring managers at over 4,000 top companies. Make a profile today and land your dream job. Vettery

In Brief

[Our Mobile Focused Newsletter: Mobile Dev Weekly](https://mobiledevweekly.com/?utm_source=frontendfocus&utm_medium=email) 
Each week we cover the vast mobile landscape, spanning the web, hybrid and native app development.
Cooperpress

[Progressive Web Apps Coming to All Chrome Platforms](https://medium.com/@kennethrohde/progressive-web-apps-coming-to-all-chrome-platforms-80e31272e2a8?utm_source=frontendfocus&utm_medium=email) tutorial 
…and how to try it.
Kenneth Christiansen

[Handling Long Titles with Truncation via CSS or JS](https://assortment.io/posts/handling-long-titles-with-truncation?utm_source=frontendfocus&utm_medium=email) tutorial
Luke Whitehouse

[Fallback Font Stacks for More Robust Web Typography](https://css-tricks.com/css-basics-fallback-font-stacks-robust-web-typography/?utm_source=frontendfocus&utm_medium=email) tutorial
Chris Coyier

[Things You Need to Know About Working with SVG in VS Code](https://medium.freecodecamp.org/things-you-need-to-know-about-working-with-svg-in-vs-code-63be593444dd?utm_source=frontendfocus&utm_medium=email) tutorial
Burke Holland

[Building a Voice-Activated Movie Search App Powered By Amazon Lex, Lambda, and MongoDB Atlas (Part 3)](https://www.mongodb.com/blog/post/aws-lex-lambda-mongodb-atlas-movie-search-app-part-3?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY17Q4&utm_content=sponsoredlink&utm_medium=display&utm_source=frontendfocus20180221) tutorial 
Deploy our Lambda function using the AWS Command Line Interface and verify that the bot fully works as expected.
MONGODBSponsor

[What the Heck is the 'Shadow DOM' Anyway?](https://blog.rowan.website/2018/02/15/what-the-shit-is-the-shadow-dom-anyway/?utm_source=frontendfocus&utm_medium=email) tutorial
Rowan Lupton

[Spicing Up the Bootstrap Carousel with CSS3 Animations](https://www.sitepoint.com/bootstrap-carousel-with-css3-animations/?utm_source=frontendfocus&utm_medium=email) tutorial
Maria Antonietta Perna

[How to Build a Responsive Site with Bootstrap](https://www.sitepoint.com/build-responsive-bootstrap-website/?utm_source=frontendfocus&utm_medium=email) tutorial
Syed Fazle Rahman

[Whitespace on the Web with CSS Grid](https://www.youtube.com/watch?v=YfIjFeBLhyA) video
Jen Simmons

[CSS Grid Like You Are Jan Tschichold](https://www.youtube.com/watch?v=OxrsO4aIjyc) video
Jen Simmons

[Save Time with the Best, Fastest Angular Spreadsheets & UI Components](https://www.grapecity.com/en/javascript-solutions?utm_source=FrontEndFocus&utm_medium=Newsletter&utm_campaign=Wijmo_02-18) tools
GrapeCity JavaScript SolutionsSponsor

[GradPad: A CSS Gradient Generator and Gallery](http://ourownthing.co.uk/gradpad.html?utm_source=frontendfocus&utm_medium=email) tools
Our Own Thing

[Gifski: A High Quality GIF Encoder](https://gif.ski/?utm_source=frontendfocus&utm_medium=email) tools
Kornel Lesiński

[Pressure.js: Handle Force Touch, 3D Touch, and Pointer Pressure](http://pressurejs.com/?utm_source=frontendfocus&utm_medium=email) code 
Works with Surface, iOS devices, MacBooks, and more, with a single, simple API.
Stuart Yamartino

[Slice Revealer: A Reveal Effect Where Slices Cover and Uncover An Image](https://tympanus.net/Development/SliceRevealer/?utm_source=frontendfocus&utm_medium=email) demo 
[GitHub repo](https://github.com/codrops/SliceRevealer).
Codrops

[3D iMacs with Parallax Effect Created Entirely with CSS](http://www.thismanslife.co.uk/projects/lab/imac3d/?utm_source=frontendfocus&utm_medium=email) demo 
A well-executed, convincing effect.
James Mellers

[Linux Cloud Hosting Starting at 1GB of RAM for $5/mo](https://welcome.linode.com/frontendfocus/?utm_source=cooperpress&utm_medium=sponsored&utm_campaign=frontendfocus-brief) 
Linode Cloud HostingSponsor

Curated by [Peter Cooper](http://twitter.com/peterc) and [Chris Brandrick](http://twitter.com/chrisbrandrick) and published by [Cooperpress](https://cooperpress.com/).

[Stop getting FrontEnd Focus](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://frontendfoc.us/issues/328)

Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
