Search

Nalezeno "qr code": 1622

Tricks to Cut Corners Using CSS Mask and Clip-Path Properties


We recently covered creating fancy borders with CSS mask properties, and now we are going to cut the corners with CSS mask and clip-path! A lot of techniques exist to cut different shapes from the corners of any element. … Tricks to Cut Corners Using CSS Mask and Clip-Path Properties...

CSS :has


For as long as developers have written CSS code, we’ve been desperate to have a method to allow styling a parent element based child characteristics. That’s not been possible until now. CSS has introduced the :has pseudo-class which allows styling a parent based on a relative...

Elden Ring Fans Are Using Cheats To Equip Notorious Cut Underwear


They say necessity breeds innovation. In Elden Ring, sometimes that necessity looks more like a Thomas the Tank Engine mod or whatever monstrosity is happening in this video. The latest Elden Ring innovation involves players equipping an NPC’s underwear that was apparently cut from the game.Read...

Say Hello to selectmenu, a Fully Style-able select Element


I want to introduce you to a new, experimental form control called <selectmenu>. We’ll get deep into it, including how much easier it is to style than a traditional <select> element. But first, let’s fill in some context … Say Hello to selectmenu, a Fully Style-able select...

Ahmad Shadeed: Use Cases For CSS fit-content


Ahmad Shadeed covers the CSS fit-content sizing keyword. It’s useful! It just doesn’t come up super often. I find myself using min-content a lot more, like when setting up the height of a grid-template-row. The fit-content keyword is actually … Ahmad Shadeed: Use Cases For...

Trailing Slashes on URLs: Contentious or Settled?


A fun deep dive from Zach. Do you have an opinion on which you should use? 1) https://website.com/foo/ 2) https://websites.com/foo The first option has a “trailing slash.” The second does not. I’ve always preferred this thinking: you use a trailing … Trailing Slashes...

When to Avoid the text-decoration Shorthand Property


In my recent article about CSS underline bugs in Chrome, I discussed text-decoration-thickness and text-underline-offset, two relatively new and widely-supported CSS properties that give us more control over the styling of underlines. Let me demonstrate the usefulness of … When to Avoid...

My white whale: A use case for will-change


 Nic Chan: […] the will-change property landed in major browsers in August 2015, and I’ve been on the lookout for when to use it ever since. It might seem self-evident to apply it to commonly animated properties such … My white whale: A use case for will-change...

Explain the First 10 Lines of Twitter’s Source Code to Me


For the past few weeks, I’ve been hiring for a senior full-stack JavaScript engineer at my rental furniture company, Pabio. Since we’re a remote team, we conduct our interviews on Zoom, and I’ve observed that some developers are not … Explain the First 10 Lines of Twitter’s Source Code...

Reliably Send an HTTP Request as a User Leaves a Page


On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to … Reliably Send an HTTP Request as a User Leaves a Page originally...

Ukrainian Parliament Adopts Amended Virtual Assets Law


Ukrainian lawmakers have approved an updated version of legislation tailored to regulate the country’s crypto economy. The bill, which was first passed last year, was later returned to the legislature by President Volodymyr Zelensky who requested some changes. Majority of Ukrainian Deputies...

Top Things You Didn’t Know You Could Do With Netlify CLI


(This is a sponsored post.) First things first, if you didn’t know Netlify had a CLI, they do.  One of my favorite things about it running the command netlify dev on nearly any static-site generator project is seeing it … Top Things You Didn’t Know You Could Do With Netlify...

Multi-Value CSS Properties With Optional Custom Property Values


Imagine you have an element with a multi-value CSS property, such as transform: optional custom property values: .el { transform: translate(100px) scale(1.5) skew(5deg); } Now imagine you don’t always want all the transform values to be applied, so some … Multi-Value CSS Properties With...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace