Search

Nalezeno "Code": 1642

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...

Quick Tip: Clear VS Code Cache for Open Files


If you use VS Code, you might have enabled the setting for re-opening a previously open file next time the app launches. I do. I like that. Hey, thanks for remembering, buddy! 🤗 But sometimes you really, really don’t want … Quick Tip: Clear VS Code Cache for Open Files...

Exploring CSS Grid’s Implicit Grid and Auto-Placement Powers


When working with CSS Grid, the first thing to do is to set display: grid on the element that we want to be become a grid container. Then we explicitly define the grid using a combination of grid-template-columns, grid-template-rows… Exploring CSS Grid’s Implicit Grid and Auto-Placement...

Scroll Shadows? Pure CSS Parallax? Game Back On.


Chris calls scroll shadows one his favorite CSS-Tricks of all time. Lea Verou popularized the pure CSS approach using four layered background gradients with some clever background-attachment magic. The result is a slick scrolling interaction that gives users a hint … Scroll Shadows? Pure...

JavaScript Event.defaultPrevented


Whether you started with the old on_____ property or addEventListener, you know that events drive user experiences in modern JavaScript. If you’ve worked with events, you know that preventDefault() and stopPropagation() are frequently used to handle events. One thing you probably didn’t...

How stroke-dasharray Patterns Work


Say you have a line in SVG: <svg<line x1="0" y1="30" x2="500" y2="30" stroke-color="#f8a100" /</svg You can use the stroke-dasharray property in CSS to make dashes: line { stroke-dasharray: 5; } That 5 value is a relative unit based … How stroke-dasharray Patterns...

Kazakhstan President Signs Law Increasing Tax Burden for Crypto Miners


President of Kazakhstan Kassym-Jomart Tokayev has signed into law a bill amending the country’s Tax Code to impose higher tax rates on crypto miners. The levy will depend on the amount and average price of electricity utilized in the extraction of digital currencies like bitcoin....

Technical Writing for Developers


HTML, CSS, JavaScript, Python, PHP, C++, Dart — there are so many programming languages out there and you may even be totally fluent in several of them! But as we aim to write more and better code, the way we … Technical Writing for Developers originally published on CSS-Tricks. You should...

Poznatky z logování


Neříkám, že vím, jak logovat správně, ale pár průšvihů, třeba s JPA a asynchronním logováním, už jsem zažil. Chtěl bych sepsat, k čemu jsem dospěl, protože podobné otázky u nejednoho code review opakovaně diskutujeme

Russian Parliament Adopts Tax Rules for Digital Assets


Russian lawmakers have approved amendments regulating the taxation of transactions with digital assets. The legislation concerns business operations with cryptocurrencies and tokens. In some cases, the burden for Russian companies will be reduced as compared to foreign entities. Russian Duma Passes...

My Dumbest CSS Mistakes


We all make mistakes in our code. It happens! I know if I had one of those “Days Since Last Mistake” signs hanging over my desk, a big ol’ goose egg would be hovering above me all the time. It … My Dumbest CSS Mistakes originally published on CSS-Tricks. You should get...

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