How to add a drop shadow to a box or card in Bootstrap 4

This lesson is exclusive to members

Course contents
SECTION: 4
Project 2: Bike Repair Website 6:12:48
SECTION: 6
Project 4: Bootstrap Yogurt Website 3:35:39

Questions

You need to be a member to view comments.

Join today. Cancel any time.

Sign Up

Course info

128 lessons / 17 hours 5 projects Certificate of achievement

Overview

Hi there, my name is Daniel Scott and together we’re going to learn how to build professional responsive websites. which look good on mobiles, tablets and desktop screens.

We will build 4 sites together...
  • a simple but elegant restaurant website.
  • a bike repair website. 
  • a responsive portfolio website.
  • a Bootstrap website.  

We cover everything you need to build your first website. From creating your first page through to uploading your website to the internet. We’ll use the world’s most popular (and free) web design tool called Visual Studio Code.

There are exercise files you can download and then work along with me. At the end of each video I have a downloadable version of where we are in the process so that you can compare your project with mine. This will enable you to see easily where you might have a problem.

We will delve into all the good stuff such as how to create your very own mobile burger menu from scratch learning some basic JavaScript and jQuery. 

 You will...
  • Learn how to work with responsive images and icons. and stunning full screen background images and probably one too many gradients. 
  • Learn how to create forms and to choose great fonts for your website. 
  • Learn how to work with Bootstrap 4 to easily add carousels, cards and complex looking menus. 
  • Setup a domain name with hosting so that your website is live on the internet for others to see.  

There are fun class projects for you to work on which will enable you to practice what you learn. By the end of this course you’ll have a great understanding of important web design topics like HTML5, CSS3, Flex box, Responsive design and Bootstrap.   

If that all sounds a little too fancy - don’t worry, this course is aimed at people new to web design and who have never coded before. We’ll start right at the beginning and work our way through step by step. 

Who am I? 

I’m Dan, and I’ve been building websites for about 15 years now. I am award winning instructor, and have won a MAX Master award for the last 2 years in a row at the prestigious Adobe Max conference.

Time to upgrade yourself?
Sign up for the course and let’s learn how to build responsive websites.

Course duration 16 hours 42 mins
Daniel Scott

Daniel Scott

Founder of Bring Your Own Laptop & Chief Instructor

instructor

I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.

Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.
True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.

Certificates

We’re awarding certificates for this course!

Check out the How to earn your certificate video for instructions on how to earn yours and click the available certificate levels below for more information.

Downloads & Exercise files

Download Exercise Files Download Completed Files

Transcript

Hi there, in this video we are going to add Drop Shadows to our Cards. You can kind of see it pointing out the back there. We're going to add some Padding to the top and the bottom. We're going to try to ignore this Carousel which is going way too fast at the top. So here in my mock-up I've added some shadows to the Card. So I want to see if I can do that in Bootstrap. 

We've kind of stumbled across this earlier, remember. So we were looking to add Drop Shadow to the text. We typed in shadows, and got the wrong one, but it's the one we want now. So it's under 'Utilities', under 'Shadows', there you go, some nice examples.

 So you can kind of see, Shadow Small, it's this one. Shadow Regular is, I think just without anything, and this is the Large one. So let's just use Shadow. Let's go into Visual Studio Code, and you're like, "Where do I put it?" Let's give it a go, let's put it under this one here, the Card Deck. It's pasted in, I'm ignoring that now. Let's add Shadow, and let's see how it goes. 

It's kind of working, right? It's adding a Drop Shadow to the outside of everything, it's not what I want. I need some spacing down the bottom. So let's do both of those things. Let's get rid of that, and maybe here we can add the Margin to the X and Y. I'm drawing like in the air. Does anybody else do that? I can never remember X and Y. So I have to kind of like, go horizontal, vertical, X&Y. I kind of draw it in the air, anyway. So that's the up and the down. 

So the Margin up and the down of this is going to be 5. Let's give it a go. Just add some spacing between there and the bottom. Let's see if we can put the shadow somewhere. Now, didn't work on our Card Deck, it's going to go on probably the Card here. So let's add Shadow, actually, let's do it to all in one go, because I'm reasonably confident this is going to work. I've already done this. Let's save it, let's have a look. Hey, you've got Drop Shadows all the way through. Nice work, high-five, everyone. 

We're getting close to the end, I'm like kind of nervous. Kind of excited as well. It's a long course, looking forward to finishing up, and getting it out there to you. Do you know who is probably more excited than anybody? It's the Editor. Jason is probably more excited than anybody that this is coming to an end. Let's do one of the last videos, let's jump in there now.
  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • © Bring your Own Laptop Ltd 2024