-
A story about React, Redux and server-side rendering
posted in JavaScript on 2018-06-29 server app store react js data users content div redux -
Long long time ago in a kingdom far far away there was an app. The app was supported by the well known React and Redux families but there was a problem. It was damn slow. People started complaining and the app had to do something. It had to deliver its content quickly so it provides better user experience. Then the server-side rendering was born.
read more
-
iframe, or not, that is the question
posted in JavaScript on 2016-04-09 page widget javascript iframe div content script -
One of the things that I really like at work is the fact that we spend time in research tickets. We have unknowns and we make a research to find out more information on particular topic. We then base our decisions on the results. Recently we had to decide whether to use an
read more<iframe>
for a third party widget development. I feel that the collected information may be handy to someone else so I decided to write it down here.
-
CSS variables are here for ages
posted in CSS3 on 2014-08-13 div content font size color container css width div class footer variables -
Every front-end developer that starts reading about CSS preprocessors thinks “Oh, finally variables in CSS". Indeed, the ability to create and use variables in CSS makes our code much more flexible. However, I think that there is no need to use a preprocessor to create flexible stylesheets.
read more
-
Revealing the magic: How to properly convert HTML string to a DOM element
posted in JavaScript on 2014-01-23 wrapmap table tr element tbody var html td div map -
This seems like a trivial task. However, it is not. There are few popular solutions, but they have a big problem and if you use them a lot you will spot the issue.
read more
-
The power of inherit or how to animate pseudo elements
posted in CSS3 on 2013-08-27 box inherit pseudo background position 15px left div doesn t top move text -
Luckily, I have time to watch screencasts from various conferences. Last few weeks I'm watching videos from Fronteers2012. They are all great and it worths checking out. However, there is something which I found really interesting. It's about animating pseudo elements.
read more
-
SASS mixin for grid generation
posted in CSS3 on 2013-08-20 div wrapper grid sizing border box box sizing border columns mixin div div width sass -
The mixins in SASS are really helpful. Here is something really short which I just start using. It's a mixin which I apply on the grid's container.
read more
-
CSS Challenge #1: expand and center an image
posted in CSS3 on 2013-08-01 image background wrapper width div css center background size cover 200px overflow hidden height 200px overflow -
That's first of (I hope) many posts with such an idea. Problems solved with pure CSS. No JavaScript.
read more
-
CSS styles doesn\'t work on dynamically created elements in IE
posted in JavaScript on 2010-12-28 createelement div element document createelement div element document createelement var element document -
Again, IE proves that is full with bugs. Simple but effective solution.
read more
-
Javascript: autocomplete country script
posted in JavaScript on 2010-12-06 field function helper ac countries var loop div script javascript -
We are all filling registration forms. It's really nice when the page helps us to do that faster. The script, that I'm going to show you, is designed to be used for a country field.
read more