on

Bookmark Mira Rajput’s ethnic looks for the next wedding season




on

A throwback to all the times Isha Ambani rocked in Sabyasachi creations




on

Sonam Kapoor’s eye make-up is worth checking out




on

Kareena Kapoor Khan stuns on this magazine cover; see pics




on

Anna Wintour reveals her doctor son is in quarantine after falling ‘quite ill’




on

Louis Vuitton is making face masks for frontline healthcare workers




on

Summer fashion inspiration: Bring back multi-colours




on

All the times Sonakshi Sinha impressed in Falguni Shane Peacock outfits




on

When Masaba Gupta dressed Sonam and Kareena for the first time




on

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




on

Aishwarya Rai Bachchan in Abu Jani & Sandeep Khosla outfits: Fashion hits & misses




on

Disha Patani’s makeup game is always on point; take a look




on

All the times Deepika Padukone left us speechless in Anamika Khanna outfits




on

We need to emphasise more on sustainability: Anna Wintour




on

Summer fashion: Bookmark these ideas from Anushka Sharma’s wardrobe




on

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




on

Count on these easy tips to organise your shoe closet




on

Sobhita Dhulipala shoots for fashion magazine from home, clicks photos on self-timer




on

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...)




on

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




on

PE/VC investments hit 12-quarter low at $5.1 billion

The quarter also saw exits worth $1.9 billion across 37 deals, 59 per cent higher YoY. This was driven by one of India's largest PE-backed IPO exit, the $1-billion partial exit by Carlyle in the SBI Cards IPO.




on

Is this a good time to invest in gold bonds?

You also avoid capital gains tax during redemption in case the gold price is higher, making them tax efficient.




on

Three weeks on, health officials yet to pinpoint how Jalandhar’s first 6 patients got infected




on

Cyber cell use CDRs, tower location to trace travel history of Covid patients




on

Kin can now transfer money online to Burail inmates




on

Panchkula health team counsels addicts and cops on duty




on

One tests positive at Chandigarh’s GMCH




on

Paramedics on 112 emergency duty operate with minimum gear, stay on guard by tracking patient’s reports




on

Stranded with barely any food or money, students, patients from Ladakh an anxious lot




on

Pathankot: No paediatric expertise available due to lockdown, Army doctors perform life-saving surgery on day-old baby




on

Coronavirus outbreak: After MHA nod, Haryana CM says shops to start opening today onwards




on

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




on

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




on

Coronavirus outbreak: With more cases, Mohali ahead of Chandigarh even in testing




on

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




on

Chandigarh: Essential service providers being screened on priority, Admin tells High Court




on

Haryana: In Majri village, families without ration cards yet to receive help from govt




on

Coronavirus outbreak: No relaxation in curfew in Mohali district




on

Coronavirus outbreak: Panchkula to open shops in accordance with Centre’s norms




on

Jalandhar: ‘Asked Civil Hospital to assist in Covid patient’s cremation, got no reply,’ alleges private hospital




on

Three infected, but no set quarantine protocol for contractual staff at PGIMER




on

Radiographer checking Covid cases forced to put year-old son on bottle feed




on

Chandigarh: Cops fire bullets to disperse crowd protesting over cremation of Covid suspect, 30 arrested




on

Chandigarh: Youth with Asperger’s out for walk roughed up by cop, breaks down at police station




on

CM, Cong MLAs discuss way forward, agree on ‘extreme caution’ in lifting curbs




on

Fourteen new cases in Chandigarh, 5 sans contact history




on

Chandigarh: 5 new cases in Sector 30-B, residents allege administration failure




on

Chandigarh: Resident doctors accuse GMCH administration of mismanagement




on

Punjab extends curfew by two more weeks: Here is the full list of relaxations




on

Hiring ban temporary, only till situation normalises: Haryana CM