Skip to content

Daily exercise to clone a Revera responsive theme using Bootstrap #HTML #CSS

Notifications You must be signed in to change notification settings

Nostrarafus/lab-bootstrap-cloning-revera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Ironhack Logo

Cloning with Bootstrap

Internet provides lots of templates and themes. But some of them cost money. However, we don't need to pay for something we already know how to do, so... We are cloning a theme!

http://demo.fabthemes.com/revera/

Revera Picture

As we can see, this template is a very good example of the type of webpages we can see on the Internet. With Bootstrap, we are able, in barely a few hours, to copy the appearance of this template.

Requirements

Submission

Upon completion, run the following commands

$ git add .
$ git commit -m "done"
$ git push origin master

Navigate to your repo and create a Pull Request -from your master branch to the original repository master branch.

In the Pull request name, add your name and last names separated by a dash "-"

Deliverables

Your page should look like the original one as much as possible. You should push every resource needed to make it work properly. Please, organize your code and your files carefully.

Iteration 1: General layout

Focus on the general layout. What do we mean by general? Most of you are thinking about the header, how to create the menu, whether you should use 2 columns for a link or maybe 3... Don't worry, this is a common mistake at the beginning. However, as we will see, the best way to approach it is to look at the big “boxes” first and don't lose ourselves on the details.

So we have to see the page as a big container and identify the most important sections. Here you have an example:

general layout

Remember to use the inspector to determine the width and the height of the Revera page. Also, we could find out which Bootstrap classes have been used and anything else that is necessary to make our page looks like the original.

One cool Boostrap feature is that you have three elements that make our lives easier: container, row and columns. Don't hesitate to use them!

Iteration 2: Internal structure

Now that we have a global vision of the page, we can go to the second level, dividing our box into their own internal structure. This means that if you previously created a single container and various rows, now we are going to define the columns. You will have to estimate the number of cells you will need in each row.

The grid system of Bootstrap gives you all the .col classes. Remember that each row has a size of 12 columns.

Iteration 3: Include the content

Really cool! Now, you need to insert the content in its respective places (text, images, ...) and change some CSS options like margins, paddings, etc. to finish the template. It´s just a matter of Bootstrap!

Well... Maybe it's not that easy. But try different things and make it happen!

Happy Coding!

About

Daily exercise to clone a Revera responsive theme using Bootstrap #HTML #CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.0%
  • CSS 28.0%