Search

Nalezeno "can": 8288

The Making (and Potential Benefits) of a CSS Font


Not a typical one, at least. Each character is an HTML element, built with CSS. A true web font! Let me elaborate. This is a way to render text without using any font at all. Random text is split with … The post The Making (and Potential Benefits) of a CSS Font appeared first...

Still Hoping for Better Native Page Transitions


It sure would be nice to be able to animate the transition between pages if we want to on the web, at least without resorting to hacks or full-blown architecture choices just to achieve it. Some kind of API that … The post Still Hoping for Better Native Page Transitions appeared first...

Sticky Headers: 5 Ways to Make Them Better


Page Laubheimer says that if you’re going to do a sticky header… Keep it small. Visually contrast it with the rest of the page. If it’s going to move, keep it minimal. (I’d say, respect prefers-reduced-motion.) Consider “partially persistent … The post Sticky...

How to Add a Double Border to SVG Shapes


Let’s say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you can’t use any graphic editor — they need to be generated at runtime — so you have to solve it … The post How to Add a Double Border to SVG Shapes appeared first on CSS-Tricks. You...

Intrinsic Typography is the Future of Styling Text on the Web


The way we style text hasn’t changed much over the years. There have been numerous advancements to help make things more flexible, like layouts, but in terms of styling, most finite aspects of our designs, like text, remain relatively unchanged. … The post Intrinsic Typography is the Future...

Say Hello to CSS Container Queries


Container queries are finally here! Now available behind a flag in the latest version of Chrome Canary, you can go ahead and experiment to your heart’s content. Oh, and if you’re not familiar with container queries then check out … The post Say Hello to CSS Container Queries appeared first...

How to Improve CSS Performance


There is no doubt that CSS plays a huge role in web performance. Milica Mihajlija puts a point on exactly why: When there is CSS available for a page, whether it’s inline or an external stylesheet, the browser delays rendering … The post How to Improve CSS Performance appeared first...

Float an Element to the Bottom Corner


Need to lay out an element to the right or the left, such that text wraps around it? That’s an easy task for the float property. But what about if you also want to push that element (let’s call it … The post Float an Element to the Bottom Corner appeared first on CSS-Tricks. You can support...

Some Previously Banned Players Can Now Compete In Counter-Strike Events


Counter-Strike: Global Offensive has changed its rules for competitive players who’ve been banned for violations of Valve’s Anti-Cheat system. Previously, those bans were permanent; now, players who’ve been banned for VAC violations in the past can compete in Valve-sponsored events under specific...

No-VR Mod Brings Half Life: Alyx To Players Who Can't Afford Headsets


By all accounts, Half Life: Alyx is a phenomenal game. But because it’s VR-only, large swathes of gamers simply cannot play it due to the high costs of VR hardware and the computers to support it. To remedy this, modders have been working on No VR mods for Alyx, with varying levels of success.Read...

Creating an Editable Textarea That Supports Syntax-Highlighted Code


When I was working on a project that needed an editor component for source code, I really wanted a way to have that editor highlight the syntax its typed. There are projects like this, like CodeMirror, Ace, and … The post Creating an Editable Textarea That Supports Syntax-Highlighted Code...

Turkey Bans Cryptocurrency Use for Payments as Local Currency Plunges


The Central bank of the Republic of Turkey has issued a cryptocurrency regulation prohibiting the use of cryptocurrencies for payments of goods and services. From the end of this month, crypto assets cannot be used directly or indirectly as a means of payment in the country and no service can...

Not Your Typical Horizontal Rules


The default browser style for <hr> is so weird. It’s basically: border-style: inset; border-width: 1px; The default border-color is black, but the border doesn’t actually look black, because the inset border “adds a split tone to the line … The post Not Your Typical...

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