Search

Nalezeno "CODE": 1641

More Details on `details`


A lot of chatter around the ol’ <details> and <summary> elements lately! I saw Lea Verou recently tweet an observation about the element’s display behavior and that sorta splintered into more observations and usage notes from folks, including a revived … More...

When is it OK to Disable Text Selection?


Using CSS, it’s possible to prevent users from selecting text within an element using user-select: none. Now, it’s understandable why doing so might be considered “controversial”. I mean, should we be disabling standard user behaviors? Generally speaking, no, we … When is it OK to Disable...

US Treasury - You Are Not Breaking Sanctions by Sharing Tornado Cash Code


The U.S. Treasury Department has released further clarifications on the sanction placed on the popular cryptocurrency mixer, Tornado Cash. The department stated that the sanction does not affect the rights of individuals in the U.S. to view and disseminate the open-source Tornado Cash...

What’s New With Forms in 2022?


Browsers are constantly adding new HTML, JavaScript and CSS features. Here are some useful additions to working with forms that you might have missed… requestSubmit() Safari 16 will be the final browser to add support for requestSubmit. Before we … What’s New With Forms in 2022? originally...

Interpolating Numeric CSS Variables


We can make variables in CSS pretty easily: :root { --scale: 1; } And we can declare them on any element: .thing { transform: scale(--scale); } Even better for an example like this is applying the variable on a user … Interpolating Numeric CSS Variables originally published...

Nigerian Central Bank Slashes CBDC Transaction Fees by 50%


The Central Bank of Nigeria has said it is slashing transaction fees for the e-naira platform by 50% — a move which the bank claims will increase the volume of transactions on the central bank digital currency (CBDC) platform. The central bank also believes that wider adoption of the CBDC...

Using CSS Cascade Layers to Manage Custom Styles in a Tailwind Project


If a utility class only does one thing, chances are you don’t want it to be overridden by any styles coming from elsewhere. One approach is to use !important to be 100% certain the style will be applied, regardless of … Using CSS Cascade Layers to Manage Custom Styles in a Tailwind Project...

CSS Grid and Custom Shapes, Part 2


Alright, so the last time we checked in, we were using CSS Grid and combining them with CSS clip-path and mask techniques to create grids with fancy shapes. Here’s just one of the fantastic grids we made together: CodePen… CSS Grid and Custom Shapes, Part 2 originally published...

git Force Push


Rebasing is a frequent task for anyone using git. We sometimes use rebasing to branch our code from the last changes or even just to drop commits from a branch. Oftentimes when trying to push after a rebase, you’ll see something like the following: hint: Updates were rejected because the...

Why (and How) I Write Code With Pencil and Paper


If the thought of handwriting code seems silly, it might surprise you to know that it’s inevitable. If you’re unsure, think about the last job interview you did, and remember how there was no computer around in the interview room … Why (and How) I Write Code With Pencil and Paper...

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