Search
JavaScript Glossary: Array .slice() Method
8.2.2019
Basics
The slice array method copies a given part of an array returning the selected part as an array. It doesn’t mutate the given array rather, it returns a new array
JavaScript Glossary: Array .push() Method
8.2.2019
Basics
This methods appends one or more value to the last position of an array. This method mutates the array returning the new length of the array.
let
JavaScript Glossary: Array .map() Method
8.2.2019
Basics
The map() method takes a callback method that performs an operation on the elements in the array. It returns a new array containing the resulting values of running the
Gradians and Turns: the quiet heroes of CSS angles
6.2.2019
I love coming across little overlooked CSS gems, like the gradien (grad) and turn (turn) units that Ken Bellows uncovers in his post explaining them. I don't know, maybe y'all are already aware of them, but they're certainly new to me.
They're additional options for dealing with angles, where...
Ocenění pro český Veracity Protocol: Dostal se do blockchain akcelerátoru v New Yorku
6.2.2019
Když jde o zacházení s citlivými daty na internetu, jen máloco se v poslední době skloňuje tolik jako blockchain. Velký potenciál vidí i v Techstars, kde otevřeli první běh akcelerátoru Alchemist Blockchain Techstars. Vybrali do něj 10 nejslibnějších světových startupů. A mezi nimi i český Veracity...
CSS :placeholder-shown
4.2.2019
One of the first plugins that would hit a new framework in the early days of JavaScript frameworks was a placeholder plugin, which is why we were so excited when HTML5 brought us the placeholder attribute. Then CSS lovers like me were thrilled when the CSS spec allowed us to style placeholders....
Inspirational Websites Roundup #1
4.2.2019
The first edition of a new series that aims to showcase inspirational website designs.
Inspirational Websites Roundup #1 was written by Mary Lou and published on Codrops
React 16.6.0 Goodies
23.1.2019
React 16.6.0 was released October 2018 and with it came goodies that spice up the way we can develop with React. We’re going to cover what I consider the best of those new goodies with examples of how we can put them to use in our work.
React.memo() avoids unnecessary re-rendering
There...
New CodePen Feature: Prefill Embeds
21.1.2019
I've very excited to have this feature released for CodePen. It's very progressive enhancement friendly in the sense that you can take any <pre> block of HTML, CSS, and JavaScript (or any combination of them) and enhance it into an embed, meaning you can see the rendered output. It also...
STAR Apps: A New Generation of Front-End Tooling for Development Workflows
18.1.2019
Product teams from AirBnb and New York Times to Shopify and Artsy (among many others) are converging on a new set of best practices and technologies for building the web apps that their businesses depend on. This trend reflects core principles and solve underlying problems that we may share, so...
Using React Portals to Render Children Outside the DOM Hierarchy
15.1.2019
Say we need to render a child element into a React application. Easy right? That child is mounted to the nearest DOM element and rendered inside of it as a result.
render() {
return (
<div>
// Child to render inside of the div
</div>
);
}
But! What if we want...
Design v17
14.1.2019
We rolled out a new site design on January 1! This is the 17th version of CSS-Tricks if you can believe that. The versions tend to evolve a decent amount beyond the initial launch, but we archive screenshots on this design history page. Like I said in our 2018 thank you post:
This is easily...
WDRL — Edition 253: Welcome back to a new year with Jank-Free Images, Styled Web Components, Human Branding and Code-Splitting
11.1.2019
Hey,
I’m happy to be back with a new edition of my Web Development Reading List in 2019. I’m grateful for all your ongoing givings to support my work and it makes me happy to hear that so many people find this resource very helpful. So if you enjoy reading it, share it with people you know, give...
Algorithmic Layouts
10.1.2019
Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox...
New ES2018 Features Every JavaScript Developer Should Know
9.1.2019
The ninth edition of the ECMAScript standard, officially known as ECMAScript 2018 (or ES2018 for short), was released in June 2018. Starting with ES2016, new versions of ECMAScript specifications are released yearly rather than every several years and add fewer features than major editions used...
The 10,000 Year Clock Design Principals
8.1.2019
In the new year edition of the Clearleft newsletter, Jeremy Keith linked to the design principals Danny Hillis thought about while considering a clock that would work for 10,000 years.
Here's part of that page, satisfyingly displayed as a <dl>:
Longevity:
Go slow
Avoid sliding friction...
NASA ukončila přelet nejvzdálenější planetky, kterou kdy navštívila
4.1.2019
Sonda New Horizons, která 1. ledna přeletěla nad planetkou v Kuiperově pásu se nyní na pět dní odmlčí, kvůli Slunci, které bude signálu překážet. I tak bude trvat asi 14 dní, než astronomové analyzují došlá data. Ta nová potvrzují předchozí zjištění, ale neodpovídají na řadu otázek.Další články...
Dobré vědět: Co bude po New Horizons? Příští sondy by měl pohánět laser
3.1.2019
New Horizons a Ultima Thule jsou hvězdami současné astronomie, ale co bude pak? Mimo sluneční soustavu toho zatím moc nelétá a v blízké budoucnosti se ani žádné nové průzkumné sondy nepřipravují. Ale podíváme se na koncept, který je sice zatím pouze na papíře, nicméně je příslibem revolučního
Quicklink
3.1.2019
We're in the future now so, of course, we're working on ways to speed up the web with fancy new tactics above and beyond the typical make-pages-slimmer-and-cached-like-crazy techniques.
One tactic, from years ago, was InstantClick:
Before visitors click on a link, they hover over that link. Between...
První fotografie nejvzdálenější planetky, již jsme kdy nasnímali zblízka
3.1.2019
Sonda New Horizons poslala první snímky ze svého průletu nad planetkou 2006 MU69. NASA je zveřejnila a čeká na podrobnější.Další články k tématu:Sonda zvládla průlet kolem nejvzdálenějšího zkoumaného vesmírného objektuSonda zkoumala nejvzdálenější tajemný objekt. Data bude posílat roky