i

Putting Flexbox into Practice presentation at Blend Conference

Download the slides and view the demo page for my presentation on Putting Flexbox into Practice for Blend Conference 2013, as well as get links to related articles, tutorials, and tools on Flexible Box Layout.




i

Help me declutter before I move overseas

I'm moving from the US to the Netherlands, and as part of paring down pre-move, I'd like to get rid of several copies of my book Stunning CSS3 before I leave. Find out how to get a copy.




i

Leveling Up With Flexbox presentation at Smashing Conference

Download the slides and view the demos for my presentation on practical flexbox progressive enhancement, "Leveling Up With Flexbox" for Smashing Conference in Oxford, as well as get links to related articles, tutorials, and tools on Flexible Box Layout.




i

Full-width pinned layouts with flexbox

Learn how to use flexbox to pin two things to opposite ends of the viewport with a heading centered in between. Using media queries and flexbox's re-ordering capabilities, we can make this layout pattern even more responsive.




i

Enhancing Responsiveness with Flexbox presentation at RWD Summit

Download the slides and view the demos for my presentation on practical flexbox progressive enhancement for RWD, "Enhancing Responsiveness with Flexbox" for the RWD Summit, as well as get links to related articles, tutorials, and tools on Flexible Box Layout.




i

We need more moms in web design and development

I've noticed that there are very few moms speaking at conferences in our industry. I'd like us to do our little part to make it easier for women to work in technology fields by making web design and development conferences more mom-friendly. This can help all of us, not just the moms.




i

Using Modernizr with Flexbox

The Modernizr feature-detection script now includes four tests for flexbox support, which you can use to target browsers with varying levels of support more precisely.




i

Override window.alert

For years the only bit of feedback web developers could get was via alert("{str}") calls. These days we have the web console but, in rare cases, we don’t have a console and alert calls are our only window into a value at a given time. One problem: if an alert sneaks into production code, your […]

The post Override window.alert appeared first on David Walsh Blog.




i

Land Your Dream Job with Vettery (Sponsored)

Whether you’re an experienced pro or someone new to the industry, finding a great job can be a scary, stressful process. Engineers and designers get inundated with Hacker Rank tests, portfolio requests, and a variety of other queries. Vettery improves the experience for free agents by creating an atmosphere where businesses reach out to you! […]

The post Land Your Dream Job with Vettery (Sponsored) appeared first on David Walsh Blog.




i

Lazy Object Initialization

The Firefox DevTools underlying code, which is written with JavaScript and HTML, is a complex application. Due to the complexity and amount of work going on, the DevTools team has done everything they can to load as little as possible. Furthermore the team has a system of lazily importing and initializing objects when they’re needed. […]

The post Lazy Object Initialization appeared first on David Walsh Blog.




i

View Mac Calendar from Command Line

As someone that loves using UI tools, I do pride myself in learning how to accomplish the same feats from command line. Don’t believe me? Check out my Command Line tutorials section — I guarantee you’ll learn quite a bit. Recently I learned that you can view basic calendars from command line with the cal […]

The post View Mac Calendar from Command Line appeared first on David Walsh Blog.




i

How to Specify User Agent with cURL

Over the years I’ve shared how to perform a number of actions with cURL: how to send POST data, how to retrieve headers, follow redirects, check GZIP encoding, and more. Another useful cURL directive is sending the user agent, as some servers respond with different content or headers depending on the user agent. Let’s have […]

The post How to Specify User Agent with cURL appeared first on David Walsh Blog.




i

How to Set a Default Commit Message

Having a default commit message is really useful for a number of reasons: It can formalize your commit messages It serves as a good reminder for the information you should add to your commit message, like issue number If you set it to “Drunk AF, don’t accept this” To set a default commit message on […]

The post How to Set a Default Commit Message appeared first on David Walsh Blog.




i

Hex Opacity Table

We’ve used hex colors for years but 8-digit hexadecimal is still relatively new. While rgba is simple to understand, 8-digit hex is more difficult, as you need to provide a hex representation of a numeric value. The following is a hexadecimal chart of opacity! Opacity Value Hex Code 100 FF 99 FC 98 FA 97 […]

The post Hex Opacity Table appeared first on David Walsh Blog.




i

Tips for Working Remotely and Enjoying It!

With the coronavirus spreading and employers telling employees work from home if possible, there are scores of people getting their first taste of working remotely. Depending on your experience and discipline levels, this could be a welcomed change or a complete culture shock. The amount of freedom your find yourself in can be similar the […]

The post Tips for Working Remotely and Enjoying It! appeared first on David Walsh Blog.




i

How to Simulate Long HTTP Requests

It happens less frequently these days but there are times when we need to accommodate for a HTTP request timing out. The service could be down, under heavy traffic, or just poorly coded, or any host of other issues. Whenever I need to simulate a long HTTP request, I use a bit of PHP to […]

The post How to Simulate Long HTTP Requests appeared first on David Walsh Blog.




i

Teamstack: Easy Automation of Identity Management (Sponsored)

Access management can be a bit of a nightmare, especially when we realize that we rely on a number of different, independent services that power our organizations. Many businesses use Gmail for email, Google Docs for documents, Slack for communication, GitHub for their codebase, etc. Yet each of these services provides their own permissions screens, […]

The post Teamstack: Easy Automation of Identity Management (Sponsored) appeared first on David Walsh Blog.




i

5 Essential git Commands and Utilities

For many of us, git and GitHub play a huge role in our development workflows. Whenever we have a tool that we need to use often, the more fine-tuned we can make that tool, the faster we can get things done. The following are five git commands or helpers that can make your developer life […]

The post 5 Essential git Commands and Utilities appeared first on David Walsh Blog.




i

Detect git Directory with Bash

One interesting aspect of working at Mozilla is that Firefox lives in a mercurial repository while several other projects live on GitHub in a git repository. While most focus on either Firefox or another project, I switch between both, leaving me running git commands inside the mercurial repository and hg commands inside git repos. It’s […]

The post Detect git Directory with Bash appeared first on David Walsh Blog.




i

How to Create a CSS-Tricks Custom Scrollbar

Chris Coyier of CSS-Tricks is an amazing engineer and blogger. He’s not only creative but has always had the drive to put his thoughts to work, no matter how large. He also has a good eye for the little things that can make CSS-Tricks or your site special. One of those little things is his […]

The post How to Create a CSS-Tricks Custom Scrollbar appeared first on David Walsh Blog.




i

JavaScript Picture-in-Picture API

As a huge fan of media on the web, I’m always excited about enhancements to how we can control our media. Maybe I get excited about simple things like the <video> tag and its associated elements and attributes because media on the web started with custom codecs, browser extensions, and Flash. The latest awesome media […]

The post JavaScript Picture-in-Picture API appeared first on David Walsh Blog.




i

How to Add Native Keyword Aliases to Babel

Those of you who follow this blog know that not every blog post is an endorsement of a technique but simply a tutorial how to accomplish something. Sometimes the technique described is probably not something you should do. This is one of those blog posts. The Babel parser is an essential tool in the web […]

The post How to Add Native Keyword Aliases to Babel appeared first on David Walsh Blog.




i

How to Play Retro Game ROMs on Windows

Video games are always a fun time, something we desperately need during our COVID lockdown. A few years back I shared how to play retro games on Mac, as well as how to patch games to play popular ROM hacks like Grand Poo World and Invictus. One disadvantage that Macs have, however, is performance — […]

The post How to Play Retro Game ROMs on Windows appeared first on David Walsh Blog.




i

Track Your Keyword Placement with Ranktrackify (Sponsored)

I don’t need to tell you how important search engine placement is. You either earn it with quality content, loads of SEO work, paying for placement, or all of the above. And even we you achieve best placement, you need to be wary of your content becoming stale or someone else coming along with a […]

The post Track Your Keyword Placement with Ranktrackify (Sponsored) appeared first on David Walsh Blog.




i

How to Display Mode-Specific Images

Now that we have most of the basics of HTML and CSS in the browser, we’ve begun implementing new features that I would consider “quality of life” improvements, many of which have been inspired by mobile. One great example is the CSS prefers-color-scheme media query, which allows developers to cater their design to system theme […]

The post How to Display Mode-Specific Images appeared first on David Walsh Blog.




i

How to Fix ESLint Errors Upon Save in VS Code

Two of the most prominent utilities in web development today are ESLint and Microsoft’s Visual Studio Code. I enjoy using both, and I love the integration between both tools, but warnings from ESLint inside Visual Studio Code aren’t fulfilling — I’d rather lint errors be fixed each time I save. Complete the following steps to […]

The post How to Fix ESLint Errors Upon Save in VS Code appeared first on David Walsh Blog.




i

HTML5 and Video: 4 part video series

I’ve had a couple people ask me to link on my blog to my four part video series on HTML5 and video. Currently, it’s a feature on the AdobeTV home page, but I reckon that will be for just a little while. After that, you can link directly to Part 1 (7:18), Part 2 (10:31), [...]




i

CSS3 Flexible Box Model…Layout Coolness…also Oddities & Confusion

In August, due to a twitter discussion with Molly, and of course while partying on a Saturday night, Dave Gregory and I were looking at whether the Flexible box layout module (still a working draft) is getting close to ready for prime time yet. Our hope was that it will solve some of the frustrations [...]




i

Changing a Background-image with CSS3 Transitions

As you may have read, outside of gradients, you can’t change a background-image with CSS transitions. Or can you? At InControl Conference last week, Greg Rewis spoke about Transitions, Transforms and Animations. A question was asked about showing one background-image on load and transitioning to another in a subsequent pseudo-state. You can always change the [...]




i

Firefox multi-column layout bug… and a unicorn

Last night, I was getting a file ready to share with Estelle Weyl, one of my co-presenters for our CSS3 workshop at SXSW11. The page was a silly little demo that used media queries, multiple backgrounds, transitions, generated content, multi-column layout and, well, a unicorn. I had only viewed the file in Chrome since that’s [...]




i

CSS3: spread value and box-shadow on one side only

This morning I awakened with a question in my twitter stream from @deebeefunky. He was frustrated by the fact that when he sets a blur on box-shadow, it shows on two sides of the box. He wants it to show on only one side. Of course, that got me thinking. I did come up with [...]




i

New Directions

In 1999, when I started my journey through the interwebs, I had no real idea where it would take me. I barely knew what was possible. I only knew that my brain loved puzzle-type thinking, detective work, research and figuring things out. And I suspected code would access the parts of my mind that love [...]




i

Font Smoothing — It’s not just for Webkit anymore

I ran into a very frustrating bug while using icon fonts on our site at Contatta. A bug I filed last April, and nurtured through the process of getting fixed, didn’t make the Mozilla release notes (though it was included in Firefox 28). Because I feel it’s a very useful solution, I wanted to bring [...]




i

Life is a journey, not a destination

I’ve been quiet lately. Startup life is busy… and exhausting. Blogging for me has pretty much gone the way of the Dodo. I’m planning to change that. Since technology is increasingly involved in a modern company’s marketing department, it’s become quite common for those of us who are developers to find ourselves deeply involved with [...]




i

Embed a survey in an email

While implementing the trial automation flows at Contatta, one of my goals was to create an exit survey email for people who did the 30-day trial but had decided not to move to the paid plan. I wanted to send a simple, multiple choice question with the final option being “other,” so trial users could [...]




i

All your base, are belong to us — or what base size do em-based media queries use?

Yesterday, we had a discussion at work about rems, ems and percentages. I’ve used ems for media queries for years. I’ve used rems for font sizing for a couple of years. I felt like I had a pretty good handle on how it all works. Most of you probably understand the difference, but let’s do [...]







i

COVID-19: Hard times for lower-ranked tennis players

While tennis is a lucrative sport for those at the top -- the 2020 Australian Open singles champions each took home A$4.12 million ($2.52 million) -- those in the lower echelons often struggle to make ends meet.




i

PIX: Sports stars Mary Kom, Kohli, Sachin light lamps

India's sports fraternity on Sunday joined the country in showing solidarity in the fight against the rapidly-spreading coronavirus pandemic by lighting lamps and candles in response to Prime Minster Narendra Modi's call to demonstrate the nation's collective resolve. PM Modi had appealed to the people to turn off lights and instead lit diyas, candles and other forms of light for nine minutes at 9pm IST on Sunday to show the nation's collective resolve to fight coronavirus.




i

PIX: Belarus club cheered on by virtual fans in stands

The Belarusian league is filling the void for foreign fans starved of football at home, by inviting fans from around the world to buy virtual tickets online.




i

The Indian footballer working to fight Coronavirus

CK Vineeth joins COVID-19 helpline centre in Kerala




i

Triathlon champ, now a healthcare worker, baptized

Vanek, who won the 2014 Triathlon World Cup, joined the emergency services last November and now works day and night, dressed in personal protective gear and mask, resuscitating people if needed and administering coronavirus tests.




i

PIX: Baseball, soccer seasons get underway in Taiwan

Taiwan has been comparatively successful in containing the spread of the virus, reporting to date 388 cases and six deaths in a population of around 24 million. No fans were allowed in the 20,000-seater stadium to watch the Lions win 4-1, with health concerns limiting attendees to a total of 200 players, coaches, umpires, cheerleaders and journalists, local media reported.




i

PIX: How this Jordanian Judoka stays in shape

Olympic hopeful judoka Hadeel Alami has hit upon an unorthodox way to stay in peak condition - using her little sister as a weight during her training routine. Alami has also transformed water bottles into dumbbells and lifts her couch instead of weights.




i

PIX: China begins work on 100,000 capacity new stadium

Evergrande Group has begun work on what will be the world's largest purpose-built soccer stadium, with a capacity of 100,000 seats, in the southern city of Guangzhou, the Chinese real estate company has said. Construction of the Guangzhou Evergrande Soccer Stadium, also dubbed "Lotus Flower Stadium" for its design, started on April 16 and would cost around 12 billion yuan ($1.69 billion) to complete, the group said.




i

PIX: How to maintain fitness at home during lockdown

With gyms being closed during the lockdown that has been enforced to keep the coronavirus pandemic at bay, the local players of Aizawl FC have taken to custom-made gym instruments, in order to maintain their fitness. While the situation in the northeastern state has so far been under control, something that the players of the former Hero I-League champions are thankful for, the players are all spending their time at home, maintaining the social distancing norms.




i

PIX: 'Homebody' Osaka making the most of isolation

Following a whirlwind few years, Japanese tennis star Naomi Osaka can be forgiven for taking time to reset and relax as the sporting world goes on an indefinite pause due to the coronavirus crisis. Osaka, a two-time Grand Slam winner who also became the first Japanese player to reach world number one, had been preparing for another action-packed summer including her Olympics debut on home soil at Tokyo 2020.




i

PHOTOS: Serena looks ravishing in new ad shoot

The tennis legend has dropped a series of photographs on her Instagram page that brings 'message of hope and optimism'.