How to leave a responsive site with or without bootstrap?

2

I'm making my first website for a client, just missing the site responsive. I wanted to know how can I do this? Most of the tutorials out there are with bootstrap, however I started and finished the site without bootstrapping, got to start using it at the very end, or would I have to redo everything?

    
asked by anonymous 14.07.2018 / 21:16

2 answers

1

With or without bootstrap you need to understand about the concept of grid

What is a Grid System?

In case you are a beginner in CSS grid systems, let's start with a quick definition. In basic terms, a grid system is a framework that allows content to be stacked vertically and horizontally in a consistent and easily manageable way. In addition, the code of a grid system is a project-agnostic , giving it a high degree of portability, so that it can be adopted in new projects.

Basic Components

Grid systems include two major components: rows and columns. Lines are used to accommodate the columns. Columns make up the final structure and enclose the actual content. Some grid systems will include containers, which serve to wrap the layout.

read more at: link

    
16.07.2018 / 20:33
0

Use Media Queries. Media Queries define conditions for CSS to be used in specific scenarios. If these conditions are approved, ie if the device meets all the conditions set out in your Media Query, CSS will apply.

// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
    
17.07.2018 / 16:10