Search

Nalezeno "LINE": 616

Resizing Values in Steps in CSS


There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...

The 3rd Cryptopulco Announces its Speaker Line-Up


Acapulco, Mexico (December 12, 2019)—Cryptopulco is excited to announce the speakers for the 3rd Annual Crytpopulco as part of Anarchapulco, February 13–16, 2020, in Acapulco, Mexico. The speaker line up for 2020 includes;  ● Naomi Brockwell – MC for Cryptopulco  ● Nick Spanos – Bitcoin...

Bundling JavaScript for Performance: Best Practices


Performance advice from David Calhoun on how many scripts to load on a page for best performance: [...] some of your vendor dependencies probably change slower than others. react and react-dom probably change the slowest, and their versions are always paired together, so they...

Component-Level CMSs


When a component lives in an environment where the data queries populating it live nearby, there is a pretty direct line between the visual component and the database where that exact content lives. That is opening up doors to site editing experiences that travel that line. We're starting to...

Searching the Jamstack


Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results to your site: <form action="https://www.google.com/search" method="get"<input type="search" name="q"...

Snowpack


Snowpack. Love that name. This is the new thing from the Pika people, who are on to something. It's a bundler alternative, in a sense. It runs over packages you pull from npm to make sure that they are ES module-compatible (native imports). This is how I digest it. When you write a line of code...

CSS-Only Carousel


It's kind of amazing how far HTML and CSS will take you when building a carousel/slideshow. Setting some boxes in a horizontal row with flexbox is easy. Showing only one box at a time with overflow and making it swipable with -webkit-overflow-scrolling is easy. You can make the "slides" line...

Is it better to use ems/rems than px for font-size?


The answer used to be absolutely yes because, if you used px units, you prevented the text from being resized by the user at all. But browser zoom is the default method for making everything bigger (including text) these days and it works great even if you use px. But... Kathleen McMahon really...

How to Build Your Resume on npm


Just yesterday, Ali Churcher shared a neat way to make a resume using a CSS Grid layout. Let’s build off that a bit by creating a template that we can spin up whenever we want using the command line. The cool thing about that is that you’ll be able to run it with just one command. I know...

Validate CSP from Command Line


The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I’d go as far to say that every site should implement as specific CSP as possible. If you aren’t familiar with CSPs, here’s a quick example:...

PSA: It’s That Time to Update the Copyright Year on Your Site


Every year about this time I see articles going around reminding people how to update the copyright on their websites. Usually somewhere in the footer. You know, a line like: © Copyright 2007-2019 CSS-Tricks I am very absolutely not a lawyer, but this is how I understand it: You don't actually...

Nexo Now Offers Bitcoin Cash Instant Crypto Credit Lines


Bitcoin Cash community members are able to borrow against their favorite digital asset in more than 40 fiat currencies across more than 200 jurisdictions. This is thanks to Nexo which now offers BCH Instant Crypto Credit Lines with one of the lowest annual percentage rates in the industry. Also...

Mining Chip Maker Ebang Next in Line to File for US IPO


Ebang, the ASIC chip and mining rig manufacturer based in Hangzhou, China is allegedly filing for an initial public offering (IPO) in the U.S. following Canaan’s recent Nasdaq listing and Bitmain’s secret IPO filing. The world’s third-largest bitcoin mining hardware manufacturer...

“Headless Mode”


A couple of months ago, we invited Marc Anton Dahmen to show off his database-less content management system (CMS) Automad. His post is an interesting inside look at templating engines, including how they work, how CMSs use them, and how they impact the way we write things, such as loops. Well...

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