un

In Delhi, Cancer patient dies alone, 2 constables among 5 at funeral




un

On land, and then by boat: How food reaches 80 on a tiny Yamuna island




un

Delhi: Full un-lockdown unlikely, city will adopt phased approach




un

Delhi: Five more health staff test positive at Safdarjung Hospital




un

AISA alleges police entered Delhi unit head’s home, seized phone




un

Anti-Muslim incidents bound to attract negative attention abroad; need to change domestic reality: Tharoor




un

5 more states including Bihar, Punjab join ‘One Nation-One Ration Card’ scheme: Paswan




un

Northeast Delhi riots: Justice Sunil Gaur appointed claims commissioner




un

All Delhi districts fall under red zone, relaxations granted by Centre to be applicable: Satyendar Jain




un

Delhi riots: Court junks bail plea of suspended AAP councillor Tahir Hussain




un

Day before Delhi unlocks, highest spike at 427 cases




un

Mosquito-borne diseases emerge as fresh concern in Delhi, officials say many cases untraced




un

Car rams boundary wall of Qutab Minar, goes up in flames




un

Any person who is hungry is eligible for food grain: Delhi HC




un

Day after testing positive, Delhi constable cremated at Punjabi Bagh




un

Delhi: Three run over by car in Mundka, driver held




un

Delhi: 23-yr old commits suicide at AIIMS; body found 3 days later




un

Delhi HC extends interim bail of over 2,000 undertrial prisoners to avoid overcrowding in jails




un

Winnie Harlow stuns in an Anamika Khanna ensemble for a magazine shoot




un

Sooryavanshi trailer launch: Katrina Kaif declares orange as the colour of the season




un

Sooryavanshi promotions: Katrina Kaif stuns in a Sabyasachi ensemble




un

Radhika Madan’s unconventional denims will leave you drooling




un

Designer Anita Dongre dedicates fund to fight COVID-19




un

Anna Wintour announces coronavirus relief fund for members of fashion industry




un

Priyanka Chopra Jonas looks stunning on this magazine cover; check pics




un

Shilpa Shetty is easy to work with: Designer Punit Balana




un

Kareena Kapoor Khan stuns on this magazine cover; see pics




un

All the times Sonakshi Sinha impressed in Falguni Shane Peacock outfits




un

All the times Isha Ambani stunned us in Abu Jani Sandeep Khosla creations




un

Post-pandemic, people will wear wedding couture, but will ensure they reuse: Tarun Tahiliani




un

All the times Varun Dhawan floored us with his style




un

Airport looks: All the times Sonam Kapoor had our undivided attention




un

Count on these easy tips to organise your shoe closet




un

The ✨ magic ✨ of CSS math functions

#438 — April 29, 2020

Read on the Web

Frontend Focus

Current browser support for CSS math functions. Via: caniuse.com

▶  min(), max(), and clamp()` Are CSS Magic — The min, max, and clamp functions are now starting to see more widespread browser support. Here’s a video running through how these properties can be used to really open up responsive typography techniques.

Kevin Powell

Accessible Font Sizing, Explained — Bootstrap core team member Andrés Galante runs through how we can ensure our font sizes are accessible by asking what sort of best practices we can rely on to make an accessible reading experience.

CSS-Tricks

Learn Advanced Creative Coding with WebGL & Shaders — Go deeper into creative coding. Join Matt DesLauriers to learn 3D vectors and shader effects using WebGL, ThreeJS, and GLSL.

Frontend Masters sponsor

CSS for Internationalisation — An excellent guide to the various features in CSS that can be used as part of an internationalisation strategy that goes beyond mere translation.

Chen Hui Jing

AMP Introduces 'User-Friendly' Content Encryption Support — AMP aims to be all about providing speed to mobile consumers of content but paywalls just, well, get in the way. So Google and the AMP folks have come up with a way where protected content can be served and unlocked client-side for more performance. Cynically, of course, you could consider this yet another form of DRM for Web content...

The AMP Blog

Responsive Web And Desktop Development With Flutter — A look at the current state of Flutter for browser-based apps and how to create a responsive app using it.

Carmine Zaccagnino

???? Jobs

Find a Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

Frontend Developer at X-Team (Remote) — Join the most energizing community for developers. Work from anywhere with the world's leading brands.

X-Team

ℹ️ Interested in running a job listing in Frontend Focus? There's more info here.

???? News, Tutorials & Opinion

Spacing in CSS — This is pretty much everything you need to know about spacing in CSS, covering grid layout, flexbox, positioning, and lots more.

Ahmad Shadeed

▶  Performance Profiling for Web Applications — An overview of how to use Chrome DevTools to understand a Web application’s performance bottlenecks.

Sam Saccone

JS VidCon - Virtual Conference for Developers — JS VidCon, on May 7th, where developers from all over the world can share & gain knowledge from the comfort of their home.

EventHandler sponsor

Gardened — A thought-provoking piece by Ethan that looks at some of the problems inherent in our self-regulated industry, in particular related to performance and accessibility.

Ethan Marcotte

CSS Clamp: The Goldilocks of CSS Math Functions — As with the video featured above, here's a quick look at how to use min, max, and size with the clamp property.

Steve Fenton

Creating A Lightweight CSS-Only Tooltip for All Screen Sizes

Ted Krueger

How to Make A Reading Progress Bar for Your Blog

Rob OLeary

???? Code, Tools and Resources

98.css: A Design System for Building Faithful Recreations of Old UIs — If for any reason you need to your interface to look like Windows 98 then this library has you sorted. Here’s the associated repo.

Jordan Scales

Color Accessibility: Tools and Resources to Help You Design Inclusive Products — We’ve linked to this before, but it’s recently been updated and remains a solid resource.

Stéphanie Walter

Will It CORS? — A handy online tool/wizard for establishing how your (potential) use case will (or won’t!) operate alongside CORS (Cross-Origin Resource Sharing).

HTTP Toolkit

Faster CI/CD for All Your Software Projects Using Buildkite

Buildkite sponsor

Shorthand: A CSS Framework for Designers — Includes a “lite” (only gray) and “full” version. This is similar to utility class-based frameworks, so the draw here is that you don’t have to write any CSS, just add classes.

Jiten Bansal

1loc: A Collection of One-line JS Snippets — A neat little collection of vanilla JavaScript one-liners divided into various categories (arrays, date/time, DOM, etc).

Nguyen Huu Phuoc

???? ICYMI (Some older stuff that's worth checking out...)




un

A Complete Guide to CSS Functions

#439 — May 6, 2020

Read on the Web

Frontend Focus

Introducing Web Vitals: Essential Metrics for Healthy SitesWeb Vitals is a new Google initiative to provide guidance on quality signals (think first input delay, load speed, etc.) that are key to delivering good user experiences on the web.

Google

A Complete Guide to CSS Functions — A thorough resource detailing everything you need to know about functions in CSS. They can be inserted where you’d place a value, or in some cases, accompanying another value declaration — this is a good look at how to use them.

CSS Tricks

7 Design Tips for Pixel-Perfect Operational Reports — Pixel-perfect operational reports allow you to control every component down to the individual pixel level, so the rendered report is set exactly to spec. But how do you design them? Follow these 7 tips for creating beautiful, high-precision reports.

Logi Analytics sponsor

10 Years of HTML5 Boilerplate — A look at some of the history behind the front-end framwork that started them all: HTML5 Boilerplate, which is now 10 years old.

Rob Larsen

Firefox 76: Audio Worklets and Other Tricks — This latest version delivers new features for web platform support, such as Audio Worklets and Intl improvements, on the JavaScript side. Also a number of improvements to the DevTools have been added. Here’s the list of dev-focused changes.

Chris Mills & Harald Kirschner (Mozilla)

⚡️ Quick bytes:

???? Jobs

Frontend Developer at X-Team (Remote) — Join X-Team and work on projects for companies like Riot Games, FOX, Coinbase, and more. Work from anywhere.

X-Team

Find a Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

ℹ️ Interested in running a job listing in Frontend Focus? There's more info here.

???? News, Tutorials & Opinion

Exciting Things on the Horizon For CSS Layout — …such as a new Grid inspector for Chrome, the ‘gap’ property in Chrome Canary, and (amazingly) masonry-style grids in Firefox Nightly.

Michelle Barker

Selection in CSS — Another one of Ahmad’s great deep dives, this time covering the ::selection pseudo-element and the user-select property in CSS.

Ahmad Shadeed

File Sharing Now in WebKit — Looks like more Web Share API support (Level 2 / file sharing) is landing in WebKit — spotted via this tweet from Jake Archibald.

WebKit Bugzilla

For Many, Accessibility Is An Unknown Unknown — “Accessibility is, for all intents and purposes, duct-taped onto the web. We need to make it a first class citizen in browsers. Until we do, we’ll keep wondering why developers aren’t making accessible websites.”

Kilian Valkhof

Is It Time for A Web Performance Rebrand? — “Web Performance is a niche term in a broad market, should we broaden our appeal to reach more people?”

Simon Hearne

Free for 30 Days: MongoDB Atlas Is Easy. Make It Powerful. — Use MongoDB Atlas? Try the perfect partner for it. Save hours with our GUI & unlock the power you need, with Studio 3T.

Studio 3T sponsor

Beginner's Guide to Eleventy — This is an extensive and down-to-earth multi-part introductory guide to using Eleventy the popular static site generator.

Tatiana Mac

A Guide to window.location — A breakdown that covers most of the methods and properties available on the DOM’s window.location object.

samantha ming

Styling in the Shadow DOM With CSS Shadow Parts — Using the ::part() selector.

Ollie Williams

Progressively Enhancing Radio Buttons with SVG Whilst Staying Accessible

Christian Heilmann

How to Create Pure CSS Games (No JS)

Elad Shechter

???? Code, Tools and Resources

Pico: Take Browser Screenshots Client-Side with JavaScript — Different from capturing a webpage using Puppeteer or a similar tool in that the screenshot taking happens entirely client side.

Gripeless

???? I18n Ally: An All-in-One i18n Extension for VS Code — Got some internationalization work to do? I18n Ally gives you inline annotations, automated translations via Google Translate (which you can review), progress indication, etc. Supports React, Angular, Vue and other frameworks.

Anthony Fu

web-vitals-extension: A Chrome Extension to Measure Essential Metrics for A Healthy Site — This extension measures three core web vitals metrics (Largest contentful paint, cumulative layout shift, and first input delay) in a way that matches how they’re measured by Chrome and reported to other Google tools (see top feature in this issue).

Google Chrome

Faster CI/CD for All Your Software Projects Using Buildkite

Buildkite sponsor

utfu: Replace Busted Characters From Legacy Text with UTF-8 — Useful when old content contains characters like “— in place of a single quote, and similar legacy text issues.

Daniel Sieradski

Sitesauce: A Static Site for Your Dynamically-Generated Website — This paid tool converts dynamic websites (e.g. WordPress, Ghost, Joomla, etc.) into static sites, and keeps content in sync.

Miguel Piedrafita




un

Investment hubs to come under Sebi lens for China ties

The regulator last week reached out to custodians for beneficial ownership information of investors coming from China, Hong Kong, and 11 other countries.




un

Nihang dera being run with panchayat’s help: Govt tells HC




un

Punjabi NRIs reach out to students stranded in Australia




un

May not be possible to completely lift lockdown, says Capt; Punjab looks for new testing strategy; and more




un

Panchkula health team counsels addicts and cops on duty




un

In Punjab, procurement pace better than ’19 — 61% more wheat purchased




un

Punjab firm comes up with anti-infective wear for life after lockdown




un

45-hr journey, 100 buses: 3,700 pilgrims stranded at Nanded are on way to Punjab




un

Haryana launches mobile app for necessary services during lockdown




un

Post-Covid strategy: Montek to head group tasked to formulate Punjab’s economic revival plan




un

Chandigarh: From iron fist to heart of gold, UT Police undergoes image makeover




un

Hired under central scheme, ‘unpaid’ migrants labour work in farms to survive




un

In the lockdown, take part in the virtual run today




un

Hit hard by lockdown: Transgender community stands isolated with no financial resources




un

Punjab: Mohali admin starts helpline for students stranded abroad; Woman cop who misbehaved with police team booked