Search
Building a Complex UI Animation in React, Simply
12.7.2018
Let’s use React, styled-components, and react-flip-toolkit to make our own version of the animated navigation menu on the Stripe homepage. It's an impressive menu with some slick animation effects and the combination of these three tools can make it relatively easy to recreate.
This is...
Emojis as Icons
11.7.2018
There are lots of unicode symbols that make pretty good icons already, like arrows (←), marks (✘), and objects (✂︎).You can already colorize these like a normal font glyph. Then, there are emojis, those full-color suckers we all know about. What if you could take just the shape of an emoji...
Little Tip: Draw Your Grid in ASCII in Your CSS Comments for Quick Reference
9.7.2018
Say you declared a grid like this:
body {
display: grid;
grid-template-columns: min-content 1fr;
grid-template-rows: min-content auto min-content;
}
This depends on content, for sure, but how it's likely to play out is like this:
+---+-------------+
| | |
|...
Registrujte se na jOpenSpace 2018
29.6.2018
Ne-konference jOpenSpace 2018 se koná 5. – 7. října 2018 v Hotelu Luna u Ledče nad Sázavou. „OpenSpace konference jsou specifické tím, že se jejich program dopředu příliš neplánuje. Mluví se zkrátka o…
Better rendering for variable fonts
26.6.2018
I was messing around with a variable font the other day and noticed this weird rendering issue in the latest version of Chrome where certain parts of letterforms were clipping into each other in a really weird way. Thankfully, though, Stephen Nixon has come to the rescue with a temporary hack...
How to use Error Boundaries in React 16
26.6.2018
Have you seen these in your console?
Cannot read property ‘getHostNode’ of null ????
TypeError: Cannot re
Dokazatelná bezpečnost, React+TypeScript a Máte na víc – toť první nahrávky z Devel.cz 2018
25.6.2018
Záznamy tří přednášek z proběhlé konference Devel.cz 2018
PhpPrague 2018 již tuto sobotu v Praze
20.6.2018
V sobotu 23.6. (tedy již tuto sobotu!) v pražské Paralelní Polis nás čeká již druhé vydání celodenní konference zaměřené na vývoj v PHP z komunitní dílny @pehapkari. Tentokrat jsme se rozhodli akci udělat v…
3. ročník amatérského IT Ping Pong turnaje
20.6.2018
To je samá konference, barcamp, workshopy a jiné sedavé–vnímavé aktivity. Proto jsme si řekli, že by bylo fajn dostat do našich pravidelných akcí i nějaké ty sportovnější. Proto ve spolupráci s Webexpo pořádáme již…
Lidé, kteří formují český internet, se sejdou již pojedenácté
19.6.2018
WebExpo, nejstarší a největší česká konference o Webu, bude letos opět inspirovat, vzdělávat a bavit. Ano, máte pravdu, první nebo největší konferenci dnes pořádá skoro každý, jenže WebExpo opravdu bylo první a dlouhodobě…
Understanding the Almighty Reducer
13.6.2018
I was reently mentoring someone who had trouble with the .reduce() method in JavaScript. Namely, how you get from this:
const nums = [1, 2, 3]
let value = 0
for (let i = 0; i < nums.length; i++) {
value += nums[i]
}
...to this:
const nums = [1, 2, 3]
const value = nums.reduce((ac, next)...
What does the ‘h’ stand for in Vue’s render method?
30.5.2018
If you’ve been working with Vue for a while, you may have come across this way of rendering your app — this is the default in the latest version of the CLI, in main.js:
new Vue({
render: h => h(App)
}).$mount('#app')
Or, if you’re using a render function, possibly to take advantage...
Managing State in React With Unstated
29.5.2018
As your application becomes more complex, the management of state can become tedious. A component's state is meant to be self-contained, which makes sharing state across multiple components a headache. Redux is usually the go-to library to manage state in React, however, depending on how complex...
Custom List Number Styling
18.5.2018
How about a classic CSS trick! This isn't even so tricky anymore, since CSS has counter-increment and counter-reset and such that is perfect for this. I just wanted to make sure you knew how it works and had some easy-to-copy examples at the ready.
Let's say all you wanna do is style the dang...
Brno Mobile – večerní konference o mobilním vývoji
14.5.2018
Už pojedenácté se 16. května v brněnském Impact Hubu uskuteční večerní konference o mobilním vývoji BrMo. Na akci budou prezentovat tři vývojáři z různých sofwarových firem: Petr Šabata Martin Pilch Jirka Pénzeš Vstup…
Česká Python konference bude již za měsíc
9.5.2018
Každoroční české setkání příznivců jazyka Python, konference PyCon CZ, se bude konat 1. až 3. června v Praze, konkrétně ve smíchovské MeetFactory. Hlavními hosty jsou letos Karen M. Sandler, Van Lindberg, Flavio Percoco…
Overriding Default Button Styles
9.5.2018
There are a variety of "buttons" in HTML. You've got:
<button>Button</button>
<input type="button" value="Button">
Plus, for better or worse, people like having links that are styled to match the look of other true buttons on the site
<a href="#0"...
CSS Environment Variables
4.5.2018
We were all introduced to the env() function in CSS when all that drama about "The Notch" and the iPhone X was going down. The way that Apple landed on helping us move content away from those "unsafe" areas was to provide us essentially hard-coded variables to use:
padding:
...
Responsive Knockout Text With Looping Video
3.5.2018
Here’s an idea! Let’s make an an HTML <video> play inside the shape of some letters. Like "Knockout Text" except instead of an image behind, it’s video. A live demo will explain more clearly:
See the Pen basic pen by Giulio Mainardi (@mgiulio) on CodePen.
A key objective here is to develop...
10 nejzávažnějších zranitelností webových aplikací podle OWASP
26.4.2018
Útoků na webové aplikace neustále přibývá. Rostoucí počet uživatelů, komplexnější aplikace a nové postupy s sebou nesou nová rizika. OWASP proto aktualizoval seznam deseti nejnebezpečnějších zranitelnosti webových aplikací dneška. Znáte je všechny?