Search

Nalezeno "LINE": 706

Body Toggle


I appreciate the clarity of this trick that Mikael Ainalem posted over on Reddit: It’s a one-liner that toggles the class on the <body> so you can mock up different states and toggle between them on click. <body onclick="this.classList.toggle("active");" Could … The post...

What does `font: 110%/1.4 system-ui` mean?


I use this line, or one like it, in a lot of quick demos. Not that it’s not a production-worthy line of code—I just tend to be a bit more explicit on bigger projects. html { font: 110%/1.4 system-ui; } … The post What does `font: 110%/1.4 system-ui` mean? appeared first...

System *Things


I think we’re all largely aware of named colors in CSS: color: OldLace; background: rebeccapurple; I guess you’d just call those “named colors” in CSS. Those aren’t the only kind of named colors there are though. Some of them … The post System *Things appeared...

How to Upload a File via SSH and Command Line


My preference for daily work is usually GUI applications, like Visual Studio Code for text editing and Cyberduck for remote file server management. I’m also a huge fan of automation, so I do try to learn the command line equivalents of UI functions. My latest desire was wanting to know how...

Using the `outline` Property as a Collapsable Border


The outline property in CSS draws a line around the outside of an element. This is quite similar to the border property, the main exception being that outline isn’t a part of the box model. It is often used for … The post Using the `outline` Property as a Collapsable Border appeared first...

target=”blank”


Does that make your eye twitch a little bit? Like… it’s a typo. It should be target="_blank" with an underscore to start the value. As in… <a target="_blank" href="https://codepen.io"Open CodePen in a New Tab </a Welp, that’s correct syntax!… The post...

Race for Glory on Phemex Trader’s Arena III - Up to $750k on The Line


Disclaimer: The text below is a press release that was not written by Cryptonews.com. Ready, set, go! This summer is going to be electrifying, with Phemex starting the third edition of Trader’s Arena. So get your racing car and your team, hit the gas pedal, and be the first to the finish line!...

To $ or Not to $: Displaying Terminal Code Snippets


It’s very popular to put a $ on lines that are intended to be a command in code documentation that involves the terminal (i.e. the command line). Like this: $ brew install somepackage The point of that is that it … The post To $ or Not to $: Displaying Terminal Code Snippets appeared...

Mark Cuban Reveals Stake in Ethereum Layer 2 Scaling Solution Polygon


Famed American entrepreneur and investor Mark Cuban has divulged a strategic investment in Polygon, highlighting his own use and embrace of the protocol’s multi-chain approach to Ethereum. Investment Accompanies Release of the Polygon SDK As major names line up behind Ethereum, notably...

proxy-www


I like a good trick. What if… a URL was… a promise… that fetched said URL? www.codepen.io.then((response) ={ console.log(response); }); That’s what @justjavac did with JavaScript Proxys. A clever trick, that. Don’t @ me about the practicality. Trick… The post...

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