Static, relative, absolute, fixed and now also add a sticky to it. CSS position property can be a bit harder to understand and to use all of its hidden powers. In this post I will also show you a quick trick to horizontally and vertically center any element using position property with margin. This also works even if you use float (which normally breaks margin). Let’s code a bit …
When the discussion about reset CSS stylesheets begin people quickly split into few groups. First group propose that reset stylesheets should be avoided for whatever reason. Second group, on the other hand, will recommend you to use it and even give you some links where to get it. The last group will be somewhere in-between. These people will tell you to use only what do you need and ditch the rest. Personally, I agree with the last one.
Short time ago my great friend, Brigitte, asked me what code do I include into head section of html file when I work on some project. This is a common question, not just from SEO point of view. Today this question will finally be answered through this post to help and give more clarity not only Brigitte, but to all of you who are interested in this topic.
After an Intro that was more about theory and preparation, in this part we will jump right into programming and write our first commands. I suppose that you already have some software for writing you code, so let’s look at our first subject – basic methods.
Today we will take a look at something that is really sound of very close future. This CSS module was not fully released yet, but it is so awesome that it has to be mentioned. It is something what could be born if CSS slept with Modernizr. Weird?