Quantcast
Channel: Christian Heilmann
Browsing all 452 articles
Browse latest View live

Shifting an image with canvas

As part of my Tile Editor I needed a way to shift an image by x pixels left, right, up or down. I didn’t need to move the image, I needed to shift the pixels of the image. This allows you now to shift...

View Article


Back to Basics: Creating a clickable card interface in plain HTML, CSS and...

One request that keeps coming up in web design right now are card interfaces that work like this: They should have headings and text and link to another document You should be able to click anywhere on...

View Article


Pluralsight celebrates 25 years of JavaScript – a good opportunity to spruce...

To celebrate the 25th birthday of our favourite strange and wonderful language for the web, Pluralsight has ramped up the JavaScript.com domain and offers 25 free courses over the month of December....

View Article

Update to the Developer Evangelism/Advocacy handbook almost complete

Eleven years ago I wrote the Developer Evangelism Handbook .Last month I was approached by a publisher who is interested to print it in another language. Whilst flattered, I also couldn’t let that...

View Article

Quick Tip: How to capture and replace newlines in liquid for Jekyll/GitHub Pages

As part of the re-write of The Developer Advocacy Handbook I needed to have blockquotes with different classes. With GitHub Pages markdown you can do that using the > notation: > Fact: There are...

View Article


The new and improved Developer Advocacy Handbook is out – Read Chapters 1 & 2...

Eleven years ago I wrote the Developer Evangelism Handbook and since then it helped a lot of of people start a career in Developer Relations. Now a publisher approached me if they could do a print...

View Article

Back to basics: adding a playback speed control to an audio player

Currently I am publishing the new Developer Advocacy Handbook chapter by chapter and I also started recording audio versions of each chapter. A common request of people is to be able to control the...

View Article

Seven ways to test for accessibility of your web site with browser Developer...

There are lots of ways to test your web site for accessibility issues. Services, software packages, even human testing companies. They all have their place and often a test with real people is the best...

View Article


HTML and CSS still isn’t about painting with code

The other day I had a friend come to my place with the request to “learn HTML and how web sites work”. We spent a few hours playing with the topic and she got excited and quite far into it. The whole...

View Article


CSS is awesome: A dark/light mode switch with preference detection in 15...

I just love how far CSS has come in the last few years. With custom properties and media queries you can achieve so much in just a few lines of code. For example, these 15 lines make sure that users of...

View Article

Bringing Edge’s Developer Tools to VS Code for debugging Web Apps – a talk at...

Today is Visual Studio Code day and I gave a talk about an extension to Visual Studio Code that helps you with avoiding context switching. If you want to listen to the talk, here is a pre-recording I...

View Article

Sharing data between CSS and JavaScript using custom properties

One of the big battles we see in the web development world is still CSS vs. JavaScript. Both have their merits, their own syntax and ideas and it can be tough to get your head around them. This is why...

View Article

Using position: sticky to create persistent headers in long texts

The sticky value of CSS positioning is an underused gem. It treats an element as it if is positioned relative until it reaches a certain position on the screen and then turns it into a fixed position....

View Article


A code snippet to scrape all headings and their target URLs from a markdown...

When you use Markdown to write your documentation most static page generators will generate IDs for each of the headings in the document to allow you to navigate directly to them. Markdown: ## Gerbils...

View Article

Scratching my own itch: a JavaScript slide show for full screen looping GIFs...

Lately I thought it would be good to convert a lot of the GIFs I have to MP4 to save space on some of memory sticks. The problem that I found with that is that Quicklook on Mac doesn’t loop MP4s when...

View Article


Syncing CSS changes in browser developer tools with Workspaces

Lately I’ve been looking into improving the ways I use browser developer tools by using features I’ve never looked and/or forgotten. One amazing feature of those are Workspaces which have been around...

View Article

[Video] How to debug web projects using the browser developer tools inside...

With the 1.1.4 release of the Microsoft Edge Devtools for Visual Studio Code extension we have added the final bit that people kept asking for: Console messages now show up in the output console of...

View Article


New article: “Beyond console.log() – level up your debugging skills”

Today, Sitepoint released an article they commissioned me to write a few weeks ago that a lot of work went into and I’m happy with the result. In Beyond console.log – level up your debugging skills I...

View Article

Conditional animations with CSS properties

Using animations, transitions and smooth scrolling is fun, but they also represent an accessibility problem. Various groups of people have a hard time using your products when things move and change...

View Article

Batch cropping of screenshots on MacOS

I’m currently upgrading the Console documentation for Microsoft Edge and I needed to create a lot of screenshots for it. I wanted to make sure that they all are the same size, so I fixed a browser...

View Article
Browsing all 452 articles
Browse latest View live