Search
The Options for Password Revealing Inputs
6.10.2021
In HTML, there is a very clear input type for dealing with passwords:
<input type="password"
If you use that, you get the obfuscated bullet-points when you type into it, like:
••••••••
That’s the web trying to help with security. If …
The post The Options for Password Revealing...
Report: Twitch Is Hacked And Its Source Code Is In The Wild
6.10.2021
According to a report by VGC, an anonymous hacker has posted a 125GB torrent link containing, well, all of Twitch, including its source code and commit history going back to the start. The leak also contains streamers’ incomes since 2019, and information that suggests the Amazon-owned streaming...
Conditional Border Radius In CSS
5.10.2021
Ahmad Shadeed documents a bonafide CSS trick from the Facebook CSS codebase. The idea is that when an element is the full width of the viewport, it doesn’t have any border-radius. But otherwise, it has 8px of border-radius. …
The post Conditional Border Radius In CSS appeared first...
ct.css — Performance Hints via Injected Stylesheet Alone
5.10.2021
This is some bonafide CSS trickery from Harry that gives you some generic performance advice based on what it sees in your <head> element.
First, it’s possible to make a <style> block visible like any other element by changing the …
The post ct.css — Performance Hints...
Labor Union Suggests $18M Activision Blizzard Settlement Akin To Pennies
30.9.2021
Following news that Activision Blizzard plans to settle the U.S. Equal Employment Opportunity Commission’s (EEOC) complaint for just $18 million, workers at a labor union say it doesn’t do enough to curb “corporate bad actors.”Read more
Front-End Dev Shortcuts in iOS 15
29.9.2021
I was pretty stoked when Chris shared a way to “View Source” on mobile. Sure, it’s not the same as a built-in feature but it allows iOS users like myself a way to peek at a site’s code the …
The post Front-End Dev Shortcuts in iOS 15 appeared first on CSS-Tricks....
Web Unleashed is Back! (Use Coupon Code “CSS-Tricks” for 50% Off)
28.9.2021
(This is a sponsored post.)
Now in its tenth year (!!!), Web Unleashed is one of the top events for web devs. It’s coming up quick: October 20-22, 2021.
The lineup is amazing. You’ll hear from leaders in …
The post Web Unleashed is Back! (Use Coupon Code “CSS-Tricks”...
Tonic (Component Framework)
27.9.2021
I enjoy little frameworks like Tonic. It’s essentially syntactic sugar over <web-components /> to make them feel easier to use. Define a Class, template literal an HTML template, probably some other fancy helpers, and you’ve got a component …
The post Tonic (Component...
DeFi: Who, what and how to regulate in a borderless, code-governed world?
25.9.2021
The decentralized, disintermediated and borderless blockchain networks challenge regulators, but DeFi is the future of finance
Systems for z-index
24.9.2021
Say you have a z-index bug. Something is being covered up by something else. In my experience, a typical solution is to put position: relative on the thing so z-index works in the first place, and maybe rejigger the z-index…
The post Systems for z-index appeared first on CSS-Tricks. You...
Comparing Methods for Appending and Inserting With JavaScript
24.9.2021
Let’s say we want to add something to a webpage after the initial load. JavaScript gives us a variety of tools. Perhaps you’ve used some of them, like append, appendChild, insertAdjacentHTML, or innerHTML.
The difficult thing …
The post Comparing Methods for Appending...
What is Your Page Title on a Google Search Engine Results Page?
23.9.2021
Whatever Google wants it to be. I always thought it was exactly what your <title> element was. Perhaps in lieu of that, what the first <h1> on the page is. But recently I noticed some pages on this site that …
The post What is Your Page Title on a Google Search Engine Results...
Learn How to Build True Edge Apps With Cloudflare Workers and Fauna
23.9.2021
(This is a sponsored post.)
There is a lot of buzz around apps running on the edge instead of on a centralized server in web development. Running your app on the edge allows your code to be closer to …
The post Learn How to Build True Edge Apps With Cloudflare Workers and Fauna appeared...
Twitter’s div Soup and Uglyfied CSS, Explained
22.9.2021
When I came up in web development (2005-2010 were formative years for me), one of the first lessons I learned was to have a clean foundation of HTML. “What Beautiful HTML Code Looks Like” is actually one of the most …
The post Twitter’s div Soup and Uglyfied CSS, Explained...
How to Implement Logging in a Node.js Application With Pino-logger
22.9.2021
Logging, on its own, is a key aspect of any application. Logging helps developers comprehend what it is that their code is doing. It also helps save developers hours of debugging work. This tutorial is about implementing logging in a …
The post How to Implement Logging in a Node.js...
Cascade Layers?
21.9.2021
There is a new thing coming in CSS: @layer. As with all new things, it takes time to really wrap your head around it. And despite me tapping at my keyboard about it, full disclosure, I’m not sure my …
The post Cascade Layers? appeared first on CSS-Tricks. You can support CSS-Tricks...
7 Practical Uses for the ::before and ::after Pseudo-Elements in CSS
21.9.2021
CSS ::before and ::after pseudo-elements allow you to insert “content” before and after any non-replaced element (e.g. they work on a <div> but not an <input>). This effectively allows you to show something on a web page that might …
The post 7 Practical Uses...
Robinhood’s Crypto Wallet Plans May Spur Similar Moves By Competitors
21.9.2021
d beta version of the app’s version for Apple’s iOS operational system. The new software comprises a hidden image showing a waitlist page for customers signing up for a crypto wallet feature, as well as code related to crypto transfers, Bloomberg
Exploring the CSS Paint API: Polygon Border
20.9.2021
Nowadays, creating complex shapes is an easy task using clip-path, but adding a border to the shapes is always a pain. There is no robust CSS solution and we always need to produce specific “hacky” code for each particular …
The post Exploring the CSS Paint API: Polygon Border appeared...
After Fed Members Disclose Million-Dollar Stock Trades Fed’s Powell Initiates Ethics Inquiry
17.9.2021
The Federal Reserve chairman Jerome Powell has directed his staff to start an ethics inquiry into the financial activities of Fed members, as a number of senior central bank officials are being questioned for their investments. Reports indicated last week that the president of the Dallas Federal...