Search

Nalezeno "QR code": 1615

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

How to Make CSS Slanted Containers


I was updating my portfolio and wanted to use the forward slash (/) as a visual element for the site’s main layout. I hadn’t attempted to create a slanted container in CSS before, but it seemed like it … How to Make CSS Slanted Containers originally published on CSS-Tricks. You should...

No Motion Isn’t Always prefers-reduced-motion


There is a code snippet that I see all the time when the media query prefers-reduced-motion is talked about. Here it is: @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms...

Netlify Has Scheduled Functions


(This is a sponsored post.) Hey! Scheduled Functions are cool! Think of them like a CRON job. I want this code to run every Monday at 2pm. I want this code run every hour on the hour. That kind … Netlify Has Scheduled Functions originally published on CSS-Tricks. You should get...

Gundam Anime Studio Is Changing Its Official Name


Founded in 1972, Sunrise Inc. is one of Japan’s most famous anime studios. The studio’s corporate name will be no more starting this spring.IT Media reports that Sunrise will become Bandai Namco Filmworks as of April 1st 2022. Bandai Namco Arts and Bandai Namco Marketing will merge with Sunrise...

User Registration and Auth Using Firebase and React


The ability to identify users is vital for maintaining the security of any applications. Equally important is the code that’s written to manage user identities, particularly when it comes to avoiding loopholes for unauthorized access to data held by an … User Registration and Auth Using...

JavaScript Class Privates


One of my aspects of JavaScript that drew me to it as a young developers was that its syntax was loose and I could code quickly. As you gain experience as an engineer, you start to realize that some traditional coding structure is a good thing, even if it slows you down. Using Jest or […] The...

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