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… Continue reading CSS tips and tricks #5-Playing with positioning
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… Continue reading What to put inside head of html
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 :before or ::before and :after or ::after pseudo elements or selectors you can use in your CSS stylesheet. The difference between single and double-colon syntax is that single-colon is from CSS2.1 and double-colon is from CSS3 and not supported by IE8. Fortunately, all browsers support at least the… Continue reading CSS tips and tricks #4-before and after pseudo elements tutorial
If you read some of tutorials posted on the blog, you probably hear me talking about font awesome. This font, or rather CSS stylesheet, is used to generate icons on selected elements. If you want to use this CSS font, go on Font Awesome website. For online version hosted on CDN go to “Get Started”… Continue reading Font Awesome tutorial