Search

Nalezeno "border": 158

What Happens When Border Radii Overlap?


I’d wager that most times we’re rounding box corners in CSS, we’re applying a uniform border-radius value across the border. It’s a nice touch of polish in many designs. But there are times when we might want different radii for different corners. Easy, right? That way the property takes four...

More Control Over CSS Borders With background-image


You can make a typical CSS border dashed or dotted. For example: .box { border: 1px dashed black; border: 3px dotted red; } You don’t have all that much control over how big or long the dashes or gaps are. And you certainly can’t give the dashes slants, fading, or animation!...

Zimbabwe’s Battle To Control Currency Inadvertently Boosts Bitcoin Profile


Zimbabwe’s deteriorating economic situation is forcing authorities to sign off on some desperate and controversial decisions. Some of such decisions include the abrupt suspension mobile money as well as the recent designation of Zimswitch as a national payment switch. Reserve Bank of Zimbabwe...

Animating CSS Width and Height Without the Squish Effect


The first rule of animating on the web: don't animate width and height. It forces the browser to recalculate a bunch of stuff and it's slow (or "expensive" as they say). If you can get away with it, animating any transform property is faster (and "cheaper"). Butttt, transform can be tricky. Check...

Central Banks Worldwide Testing Their Own Digital Currencies


Central banks worldwide are examining the possibility of issuing a central bank digital currency (CBDC), with some already testing theirs for different uses. Countries that have advanced their digital currency projects include China, Singapore, Canada, the Bahamas, Thailand, Uruguay, and Sweden....

Miners Flock to Iran Where Bitcoin Mining Is Set to Be Sanctioned


According to regional reports, the Central Bank of Iran (CBI) is planning to allow licensed cryptocurrency mining as long as operations are charged for electricity based on the price of export. The CBI governor, Abdol Nasser Hemmati, explained that mined cryptocurrencies should flow back into...

Anypay and Cointext Launch BCH-Powered Remittance Solution for Merchants


On June 3, crypto startups Anypay and Cointext debuted a global remittance application for independent merchants. The new payment solution utilizes bitcoin cash (BCH) and allows anyone from anywhere to send funds faster and cheaper than traditional remittance platforms. Also read:...

Blurred Borders in CSS


Say we want to target an element and just visually blur the border of it. There is no simple, single built-in web platform feature we can reach for. But we can get it done with a little CSS trickery. Here's what we're after: The desired result. Let's see how we can code this effect, how we...

Stacked “Borders”


A little while back, I was in the process of adding focus styles to An Event Apart’s web site. Part of that was applying different focus effects in different areas of the design, like white rings in the header and footer and orange rings in the main text. But in one place, I wanted rings that were...

Gradient Borders in CSS


Let's say you need a gradient border around an element. My mind goes like this: There is no simple obvious CSS API for this. I'll just make a wrapper element with a linear-gradient background, then an inner element will block out most of that background, except a thin line of padding around...

Decorating lines of text with box-decoration-break


An institution’s motto, an artist’s intro, a company’s tagline, a community’s principle, a service’s greeting… all of them have one thing in common: they’re one brief paragraph displayed on a website’s home page — or at least the about page! It’s rare that just one word or one line of text...

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