CSS – Flexbox introduction

CSS – Flexbox introduction

Flexbox provides a more efficient layout even when the size is unknown. You can convert a container to a flex container by applying some css properties. Then this flex container will layout its children. flex container To create a flex container you need to set the display method of a container to flex or flex-inline. flex is for block elements and flex-inline for inline elements. Now let’s add the display:flex property to the parent container flex-flow is a property for the flex containers and specifies how to line up elements,…

CSS – Flexbox introduction Read More

Introduction to CSS

Introduction to CSS

CSS (Cascading Style Sheets) is a style sheet language that is used to style HTML documents. To use CSS you need to have an HTML file. Create a new CSS file I will use Visual Studio Code to do this. If you want to install it, read this post. Click File and then New File It is good to save the file at the beginning, that helps Visual Studio Code understand what kind of file it is, and then will be available code autocomplete. As you see the file is…

Introduction to CSS Read More