DEV Community

loading...
Šime Vidas profile picture

Šime Vidas

404 bio not found

Joined Joined on  twitter website

All 33 comments

Responsive text based on image size

Yes, that’s the case that I meant. Image + heading. The headi...

Responsive text based on image size

There is also .box { width: fit-content } (Autoprefixer neede...

Any reason for not using loading="lazy" attribute?

I’m just assuming. Generally speaking, for any behavior in a ...

Any reason for not using loading="lazy" attribute?

Why isn't that the default for loading images in browsers? ...

Updates from 78th meeting of TC39

Thanks for the overview 👍

Backdrop Filter effect with CSS

FWIW, it works in Firefox Nightly after enabling that flag.

What is the color of a blank page?

The background of the root element becomes the background o...

You can create these elements without JavaScript

How do you operate the star rating with the keyboard?

Prevent history navigation on horizontally-scrolling elements with CSS

Thanks for checking. I tried on a regular Windows laptop, a...

Prevent history navigation on horizontally-scrolling elements with CSS

A two-finger swipe to the right triggers the browser Back ...

Prevent history navigation on horizontally-scrolling elements with CSS

Is there a demo? This CSS property doesn’t seem to be suppo...

Lazy load embedded YouTube videos

Can I haz <lazy-youtube> web component? 😁

Do you A/B test improvements?

I don’t do A/B testing because doing just A is already enou...

What's next for PWAs?

I believe they'll add push notifications by the end of thi...

Why you need to give Firefox a chance

A lot of innovation came from Apple though. It’s not like A...

Why you need to give Firefox a chance

No, the screenshot is the combined market share (all platfo...

Why you need to give Firefox a chance

Safari is on the second place just because of macOS popula...

Why I don't use web components

What are your thoughts on using third-party web components fo...

Modern Web Components

But the standard API is more complicated to use, is it not?...

Modern Web Components

I’m not sure why anyone would want to write vanilla code. T...

Declaring JS Variables in 2019

That sounds like a solid approach. I’m surprised that const...

Chromium and the browser monoculture problem

“Just imagine with me for a moment: What if Company A and C...

Declaring JS Variables in 2019

I guess const makes (more) sense in large teams that work o...

Declaring JS Variables in 2019

const is most likely is a very useful feature in certain si...

Declaring JS Variables in 2019

Ah yes, I meant re-assignable, not re-declarable. The argu...

Declaring JS Variables in 2019

I’m in the “preventing re-declaration doesn’t really matter...

Designing button focus states for better usability

I like GOV.UK’s approach; they use a heavy outline in a uniqu...

Could Dev.to add support for the <mark> element?

👍 I’ve created it here: github.com/thepracticaldev/dev.to/....

Gradians and Turns: the quiet heroes of CSS angles

Good point!

Gradians and Turns: the quiet heroes of CSS angles

I’ve given private math lessons for years, so… deg for life...

Adaptive Serving using JavaScript and the Network Information API

I’m not so sure that silently replacing the video with a po...

Cancellable async functions in JavaScript

When I read nonce, my first thought was a library for that,...

Designing Native-Like Progressive Web Apps For iOS

What’s wrong with text selection? It can be useful sometimes.

loading...