Search
An Initial Implementation of clip-path: path();
24.12.2018
One thing that has long surprised (and saddened) me is that the clip-path property, as awesome as it is, only takes a few values. The circle() and ellipse() functions are nice, but hiding overflows and rounding with border-radius generally helps there already. Perhaps the most useful value...
Deboob aneb „prsatá“ aplikace weboob bude odejita z Debianu
20.12.2018
Balíček Web Outside of Browsers (zkratka Weboob) do budoucna již nemá být součástí distribuce Debian
Regarding CSS’s Global Scope
20.12.2018
html {
font-family: Roboto, sans-serif;
}
With the except of some form elements, you've just set a font on every bit of text on a site! Nice! That's probably what you were trying to do, because of the probably hundreds of elements all over your site, setting that font-family every time would...
The Fragmented, But Evolving State of CSS-in-JS
20.12.2018
TLDR: The CSS-in-JS community has converged on a consistent API.
Not so long ago, a Facebook engineer compiled a list of the available CSS-in-JS methodologies. It wasn’t short:
aphrodite, babel-plugin-css-in-js, babel-plugin-pre-style, bloody-react-styled, classy, csjs, css-constructor, css-light...
1000 účastníků a 45 speakerů z celého světa, to je Machine Learning Prague 2019
17.12.2018
Ve dnech 22.-24. února proběhne v pražském Rudolfinu největší konference o strojovém učení v Evropě Machine Learning Prague 2019
Collective #477
17.12.2018
Rallax.js * Pampy.js * Using aria-live * Semi-Conductor * Remove.bg * I Threw Away my Mouse * Public and private class fields
Collective #477 was written by Pedro Botelho and published on Codrops
Reversing an Easing Curve
17.12.2018
Let’s take a look at a carousel I worked on where items slide in and out of view with CSS animations. To get each item to slide in and out of view nicely I used a cubic-bezier for the animation-timing-function property, instead of using a standard easing keyword.
See the Pen Carousel with reversed...
Convert Class Components to Functional Components in a React Project (Solution to Code Challenge #14)
14.12.2018
Last week on the code challenge we set out to refactor some class components in a create-react-app proj
Keep Math in the CSS
12.12.2018
There is a sentiment that leaving math calculations in your CSS is a good idea that I agree with. This is for math that you could calculate at authoring time, but specifically chose not to. For instance, if you needed a 7-column float-based grid (don't ask), it's cleaner and more intuitive:
.col...
Why isn’t it <style src=””>?
10.12.2018
The way JavaScript works is we can do scripts as an inline block:
<script>
let foo = "bar";
</script>
Or, if the script should be fetched from the network...
<script src="/js/global.js"></script>
With CSS, we can do an inline block of styles:
<style>
.foo...
Accessible SVG Icons With Inline Sprites
7.12.2018
This is a great look at accessible SVG markup patterns by Marco Hengstenberg. Here's the ideal example:
<button type="button">
Menu
<svg class="svg-icon"
role="img"
height="10"
width="10"
viewBox="0 0 10 10"
aria-hidden="true"
focusable="false">
...
DRY State Switching With CSS Variables: Fallbacks and Invalid Values
6.12.2018
This is the second post in a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less difficult to write and a lot easier to maintain. The first installment walks through various use cases where this technique applies. This post...
CSS Selectors are Conditional Statements
6.12.2018
foo {
}
Programmatically, is:
if (element has a class name of "foo") {
}
Descendent selectors are && logic and commas are ||. It just gets more complicated from there, with things like combinators and pseudo selectors. Just look at all the ways styles can cascade.
Jeremy Keith:
If...
DRY Switching with CSS Variables: The Difference of One Declaration
5.12.2018
This is the first post of a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less difficult to write and a lot easier to maintain. This first installment walks through various use cases where this technique applies. The second...
Bridging the Gap Between CSS and JavaScript: CSS-in-JS
3.12.2018
In this article, we’re going to dig into the concept of CSS-in-JS. If you’re already acquainted with this concept, you might still enjoy a stroll through the philosophy of that approach, and you might be even more interested in the next article.
Web development is very interdisciplinary. We’re used...
Jaké novinky přinese PHP 7.3
28.11.2018
Vydání PHP 7.3 je plánováno na 6. prosince 2018. Přináší několik nových funkcí, vylepšení a různá pročištění jazyka. Oproti jiným vydáním mu sice chybí nějaký trhák, ale na druhou stranu nepřibyly ani žádné zásadní nekompatibilní změny, takže upgrade bude snadný
5 Ways to Convert React Class Components to Functional Components w/ React Hooks
19.11.2018
In the latest alpha release of React, a new concept was introduced, it is called Hooks. Hooks were introduced to React to solve many problems as explained in the
Důvěryhodnost domény se zabezpečením DNSSEC
19.11.2018
Chcete vědět, jakou doménu si kvůli bezpečnosti vybrat? Čím jsou české domény chráněné a jak takové zabezpečení pracuje? Pro kvalitní zabezpečení proti podvržení stránek úspěšně funguje zabezpečení DNSSEC, kterým jsou zabezpečeny také české domény
Poslední sobota #100 celodenní konference
14.11.2018
24. listopadu se v pražské Paralelní Polis opět uskuteční sraz webových vývojářů Poslední sobota alias PoSobota. Ku příležitosti 100. jsme se rozhodli ji uchopit trošku jinak. Větší. Okruh témat je různorodý, ale blízký webovému…
Build a React To-Do App with React Hooks (No Class Components)
13.11.2018
Yes, a to-do app, seems like something we’ve all done in the past. The great thing about a to-do app is that it covers all 4 aspects of CRUD; Create, Read, Update, Delete. As a developer, we need t