New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Comparing Bootstrap 2.3 with 3.0

From: Bootstrap 3: New Features and Migration

Video: Comparing Bootstrap 2.3 with 3.0

If you're like me, when I see a new version of a framework I love, my first instinct is to upgrade my site by installing the new version of that library. With Bootstrap, that's extremely dangerous because so many things have changed in the code. This chapter, I'm going to review some of the issues you'll run into. When upgrading from Bootstrap two to Bootstrap three. In this movie, we'll just take a look at a Bootstrap 2.0 website, and then take look at the migrated Bootstrap 3.0 version. So let's take a look at what's on this page. This is a Bootstrap 2.0 website. You can sort of tell a little bit by the fact that it's got the nice menus right here.

Comparing Bootstrap 2.3 with 3.0

If you're like me, when I see a new version of a framework I love, my first instinct is to upgrade my site by installing the new version of that library. With Bootstrap, that's extremely dangerous because so many things have changed in the code. This chapter, I'm going to review some of the issues you'll run into. When upgrading from Bootstrap two to Bootstrap three. In this movie, we'll just take a look at a Bootstrap 2.0 website, and then take look at the migrated Bootstrap 3.0 version. So let's take a look at what's on this page. This is a Bootstrap 2.0 website. You can sort of tell a little bit by the fact that it's got the nice menus right here.

We've got a drop down menu here. And we've got the carousel that works really well. And if we scroll down, we can see also there's a moto, if I click on one of these images, it darkens the background and it shows you this image. I can click to click that off. And we have, also, a collapse or an accordion menu right here. You can see that the buttons also have that gradient that Bootstrap two gives you. You can tell that some of these elements have icons, and those will actually change a little bit when we go to Bootstrap three.

So, let's go ahead and switch this to the Bootstrap three version. So I'm managing this website using something called Git. So what I can do in Git is just do a check out of a different branch, so I'm going to check out the Boostrap 3 branch. And there it goes and what it actually did, and it's that quick. It actually modify all the files on this website to be at a different place or almost like a different place in time, so if I refresh this site, you can see that this is the new Bootstrap 3.0 version. Looks super similar, there's a few things that I visually changed here.

But you can see that the menus are much flatter, they still work with the drop downs and the carousel looks a little bit different. You can see the new font icons it uses instead of the arrows it used to have. You can see the darkening of these buttons when you roll over them. And if you scroll down, you can see that the buttons are a lot flatter. The motiles look exactly the same, but if I click on these, you'll see that they're actually a lot bigger than before, which is one of the things I like about this Bootstrap. And everything else is pretty much the same. The buttons here are flatter, and you can't really tell, but instead of an icon right here, that's a PNG, it's actually using a font to display these icons.

So that's pretty cool. Everything else looks pretty much the same, and that's kind of the difference between how the sites look between versions two and three. There's a lot of things that are going on in the code right here that I have to modify, to make them look pretty similar. But overall, you're just going to notice visually, that the design is flatter, and some things change in functionality. Now, if you want to learn more about how to manage your sites with Git, make sure you check out Git Essential Training. Git is a really cool technology that lets you create different branches of things, and it might be really useful on something like this, because you may be able to just create a branch for how your website currently looks.

And then start another branch, that's your Bootstrap three transition, and then work on that without screwing up your original websites. If you're interested in learning how I put this website together using Git, Hiroku, and the new version of Bootstrap, watch for an upcoming course on Lynda.com. Which you'll be able to find in my author section of the website. As I mentioned before, you can see that visually not a lot has changed. But if you looked at the chapter on understanding changes in Bootstrap, you'll know that there's a lot of stuff that's different under the hood.

We'll start a migration of this site in our next movie.

Show transcript

This video is part of

Image for Bootstrap 3: New Features and Migration
Bootstrap 3: New Features and Migration

21 video lessons · 5189 viewers

Ray Villalobos
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.