Bulma CSS Tutorial (Product Page Build) #1 - Intro & Setup

Net Ninja · Beginner ·🌐 Frontend Engineering ·5y ago
Skills: HTML & CSS80%

Key Takeaways

Builds a product page using Bulma CSS framework

Full Transcript

hey gang and welcome to your very first bulma css tutorial [Music] now just really quickly before we start the tutorial for those of you who want to support the channel and join the gang officially you can do by clicking that join button right here it's just 99 cents or pence per month and you get these cool little ninja loyalty badges next to your name in the comments down below when you leave a comment you can also join by clicking the button right beneath the video if you're watching one now which i'm guessing you are it does exactly the same thing all right so now that's at the way let's get on with the tutorial so then in this tutorial series we're going to build this product landing page using bulmet css and it's going to be fully responsive so it looks good on smaller screen sizes as well as large ones and it's going to also include a couple of different interactive elements like modules and also tabbed content so bulma css is a css framework much in the same vein as things like bootstrap and materialize in that it gives us a load of different utility and component classes and tools to style our websites with to create things like breadcrumbs cards drop downs menus etc but whereas frameworks like bootstrap also come bundled with javascript files for controlling things like modals tabs or mobile menus bulma doesn't do that it just focuses on the css and in that sense it has less of an opinion about how we implement the functionality of any ui components now i'm not one for forcing my opinion on you as to which framework or what type of framework is best personally i like using a bunch of them for different projects and i do like bulma because it's pretty simple and it lets me decide how to implement interactive components myself and it also takes a mobile first approach towards layout meaning content always generally looks good on smaller devices too so in this course we're going to be learning all the basics of bulma first fonts sizes colors and spacing all that kind of jazz and then after that we're going to dive into creating our product page using the bulma layout system which is based on flexbox and we're also going to use components like models tabs nav bars and cards and by the end of it you're going to have a pretty nice looking product page design and hopefully enough knowledge to go out and make your own web pages with bulma before you start however i would suggest that you already have a decent understanding of html and css and that's because we'll be writing html to create the web page and i would always recommend learning the basics of css before you learn any css framework so that the framework makes more sense to you and that you understand what's actually happening under the hood when we use one now i do have a full html and css crash course on this channel and you can check that out if you need to the link is going to be down below now i'd also recommend knowing at least the very basics of javascript and that's because we'll be using it to control some interactive elements like the opening and closing of modals again i've got a free modern javascript tutorial on this channel which you can check out too and again the link is going to be down below in the description all right then so first things first we want to get set up to use bulma in our project now i'm going to use vs code as my text editor of choice you don't have to but if you want it you can get it for free at code.visualstudio.com i'm also going to use a package for vs code which is going to spin up a local development server for us so we can preview our work in a browser and to install that go to the packages icon down here type in live server and search for that and it's this package right here you need to install so i'm going to show you how to use that in a second but first of all if we go to the files you can see i've already created this index.html file that's where we're going to do all of our code and inside here i'm going to type in doc and if you have vs code you can press tab and that's going to boilerplate a very simple html file for us i'm just going to change the title to ninja coffee right here and then down here i'll do a simple h1 and type in hello bulmer all right then so if i were to preview this in a browser now using that package that i've got installed live server i can just right click and go to open with live server and that's going to open up in a browser right here and now whenever i make a change over here like this and save it it's going to auto refresh in the browser so we can see that change okay so the next thing we need to do is grab the bumper framework and link it inside our index file so to do that go to the bulmer docs right here this link is going to be down below then go to overview and then start and we want to scroll down to this snippet right here it shows you how to set up a starter project and it's this link we need right here to the bulma framework so this is just a cdn link to the css file paste it in right there and press save now if i do that and then preview this again over here you're gonna see that h1 has changed styles so all of the default browser styles have been stripped out and we can see that that comes from bulmer if we inspect this elements you can see right here all of the h tags all have a font size of 100 and a font weight of 400 and that's coming from the bulmer css file so bulma strips out a lot of the default browser styles for elements like headings anchor tags paragraphs etc so that we don't have to wrestle with them when we style our web page and it applies some very simple base styles to them instead so all the font sizes are the same for different elements and they all use the same simple font family as well so i'm going to now add in an anchor tag and we can see that this as well is going to be different than a normal anchor tag so let me just type in hello and save that and we can see we don't have an underline under the anchor tag anymore it stripped out those styles and it's just applied some basic default styles instead so we're going to learn much more about all of this as we go on finally though i just wanted to mention the course files for this project they're all here on this github repo right here bulmer ui build and because i'm a super ninja i've created course files for every single lesson in this series so if you want to see the code for lesson five for example you go to the branch drop down and choose lesson five and you're gonna see all of the different files and the code in those files right here if you wanted to download a zip folder of this lesson you go to code click that and then download the zip folder or if you're proficient with git and github you can just clone the repo to your desktop so that my friends that is your introduction to bulmer i really hope you enjoyed this series if you do do not forget to share subscribe and like that really means a lot and we're going to see you in the very next tutorial where we're going to take a look at fonts and colors you

Original Description

Hey gang, in this Bulma CSS tutorial series, we'll learn all the basics of Bulma CSS & then move on to create a product page design with it. 🐱‍👤🐱‍👤 JOIN THE GANG - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg/join ---------------------------------------- 🐱‍💻 🐱‍💻 My Udemy Courses: + Modern JavaScript - https://www.thenetninja.co.uk/udemy/modern-javascript + Vue JS & Firebase - http://www.thenetninja.co.uk/udemy/vue-and-firebase + D3.js & Firebase - https://www.thenetninja.co.uk/udemy/d3-and-firebase 🐱‍💻 🐱‍💻 Course Files: + https://github.com/iamshaunjp/bulma-ui-build 🐱‍💻 🐱‍💻 Helpful Links: + HTML & CSS Crash Course - https://www.youtube.com/watch?v=hu-q2zYwEYs&list=PL4cUxeGkcC9ivBf_eKCPIAYXWzLlPAm6G + Modern JavaScript Course (free version) - https://www.youtube.com/watch?v=iWOYAxlnaww&list=PL4cUxeGkcC9haFPT7J25Q9GRB_ZkFrQAc + Get VS Code - https://code.visualstudio.com/ + Bulma Docs - https://bulma.io/documentation/ 🐱‍💻 🐱‍💻 Social Links: Facebook - https://www.facebook.com/thenetninjauk Twitter - https://twitter.com/thenetninjauk Instagram - https://www.instagram.com/thenetninja/
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Net Ninja · Net Ninja · 0 of 60

← Previous Next →
1 Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Net Ninja
2 Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Net Ninja
3 Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Net Ninja
4 GraphQL Tutorial #1 - Introduction to GraphQL
GraphQL Tutorial #1 - Introduction to GraphQL
Net Ninja
5 GraphQL Tutorial #2 - A Birdseye View of GraphQL
GraphQL Tutorial #2 - A Birdseye View of GraphQL
Net Ninja
6 GraphQL Tutorial #3 - Project (stack) Overview
GraphQL Tutorial #3 - Project (stack) Overview
Net Ninja
7 GraphQL Tutorial #4 - Making Queries (front-end preview)
GraphQL Tutorial #4 - Making Queries (front-end preview)
Net Ninja
8 GraphQL Tutorial #5 - Express App Setup
GraphQL Tutorial #5 - Express App Setup
Net Ninja
9 GraphQL Tutorial #6 - Setting up GraphQL
GraphQL Tutorial #6 - Setting up GraphQL
Net Ninja
10 GraphQL Tutorial #7 - GraphQL Schema
GraphQL Tutorial #7 - GraphQL Schema
Net Ninja
11 GraphQL Tutorial #8 - Root Query
GraphQL Tutorial #8 - Root Query
Net Ninja
12 GraphQL Tutorial #9 - The Resolve Function
GraphQL Tutorial #9 - The Resolve Function
Net Ninja
13 GraphQL Tutorial #10 - Testing Queries in Graphiql
GraphQL Tutorial #10 - Testing Queries in Graphiql
Net Ninja
14 GraphQL Tutorial #11 - GraphQL ID Type
GraphQL Tutorial #11 - GraphQL ID Type
Net Ninja
15 GraphQL Tutorial #12 - Author Type
GraphQL Tutorial #12 - Author Type
Net Ninja
16 GraphQL Tutorial #13 - Type Relations
GraphQL Tutorial #13 - Type Relations
Net Ninja
17 GraphQL Tutorial #14 - GraphQL Lists
GraphQL Tutorial #14 - GraphQL Lists
Net Ninja
18 GraphQL Tutorial #15 - More on Root Queries
GraphQL Tutorial #15 - More on Root Queries
Net Ninja
19 GraphQL Tutorial #16 - Connecting to mLab
GraphQL Tutorial #16 - Connecting to mLab
Net Ninja
20 GraphQL Tutorial #17 - Mongoose Models
GraphQL Tutorial #17 - Mongoose Models
Net Ninja
21 GraphQL Tutorial #18 - Mutations
GraphQL Tutorial #18 - Mutations
Net Ninja
22 GraphQL Tutorial #19 - More on Mutations
GraphQL Tutorial #19 - More on Mutations
Net Ninja
23 GraphQL Tutorial #20 - Updating the Resolve Functions
GraphQL Tutorial #20 - Updating the Resolve Functions
Net Ninja
24 GraphQL Tutorial #21 - GraphQL NonNull
GraphQL Tutorial #21 - GraphQL NonNull
Net Ninja
25 GraphQL Tutorial #22 - Adding a Front-end
GraphQL Tutorial #22 - Adding a Front-end
Net Ninja
26 GraphQL Tutorial #23 - Create React App
GraphQL Tutorial #23 - Create React App
Net Ninja
27 GraphQL Tutorial #24 - Book List Component
GraphQL Tutorial #24 - Book List Component
Net Ninja
28 GraphQL Tutorial #25 - Apollo Client Setup
GraphQL Tutorial #25 - Apollo Client Setup
Net Ninja
29 GraphQL Tutorial #26 - Making Queries from React
GraphQL Tutorial #26 - Making Queries from React
Net Ninja
30 GraphQL Tutorial #27 - Rendering Data in a Component
GraphQL Tutorial #27 - Rendering Data in a Component
Net Ninja
31 GraphQL Tutorial #28 - Add Book Component
GraphQL Tutorial #28 - Add Book Component
Net Ninja
32 GraphQL Tutorial #29 - External Query File
GraphQL Tutorial #29 - External Query File
Net Ninja
33 GraphQL Tutorial #30 - Updating Component State
GraphQL Tutorial #30 - Updating Component State
Net Ninja
34 GraphQL Tutorial #31 - Composing Queries
GraphQL Tutorial #31 - Composing Queries
Net Ninja
35 GraphQL Tutorial #32 - query variables
GraphQL Tutorial #32 - query variables
Net Ninja
36 GraphQL Tutorial #33 - Re-fetching Queries
GraphQL Tutorial #33 - Re-fetching Queries
Net Ninja
37 GraphQL Tutorial #34 - Book Details Component
GraphQL Tutorial #34 - Book Details Component
Net Ninja
38 GraphQL Tutorial #36 - Styling the App
GraphQL Tutorial #36 - Styling the App
Net Ninja
39 GraphQL Tutorial #35 - Making a Single Query
GraphQL Tutorial #35 - Making a Single Query
Net Ninja
40 Build Apps with Vue & Firebase - Udemy Course
Build Apps with Vue & Firebase - Udemy Course
Net Ninja
41 Updated Vue & Firebase Course (Udemy)
Updated Vue & Firebase Course (Udemy)
Net Ninja
42 Vue & Firebase Real-time Chat (Preview) #1 - Intro
Vue & Firebase Real-time Chat (Preview) #1 - Intro
Net Ninja
43 Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Net Ninja
44 Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Net Ninja
45 Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Net Ninja
46 Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Net Ninja
47 Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Net Ninja
48 Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Net Ninja
49 Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Net Ninja
50 Object Oriented JavaScript Tutorial #1 - Introduction
Object Oriented JavaScript Tutorial #1 - Introduction
Net Ninja
51 Object Oriented JavaScript Tutorial #2 - Object Literals
Object Oriented JavaScript Tutorial #2 - Object Literals
Net Ninja
52 Object Oriented JavaScript Tutorial #3 - Updating Properties
Object Oriented JavaScript Tutorial #3 - Updating Properties
Net Ninja
53 Object Oriented JavaScript Tutorial #4 - Classes
Object Oriented JavaScript Tutorial #4 - Classes
Net Ninja
54 Object Oriented JavaScript Tutorial #5  - Class Constructors
Object Oriented JavaScript Tutorial #5 - Class Constructors
Net Ninja
55 Object Oriented JavaScript Tutorial #6 - Class Methods
Object Oriented JavaScript Tutorial #6 - Class Methods
Net Ninja
56 Object Oriented JavaScript Tutorial #7 - Method Chaining
Object Oriented JavaScript Tutorial #7 - Method Chaining
Net Ninja
57 Object Oriented JavaScript Tutorial #8 - Class Inheritance
Object Oriented JavaScript Tutorial #8 - Class Inheritance
Net Ninja
58 Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Net Ninja
59 Object Oriented JavaScript Tutorial #10 - Prototype
Object Oriented JavaScript Tutorial #10 - Prototype
Net Ninja
60 Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Net Ninja

Related Reads

📰
The Enter key that submits your form while a Japanese user is still typing
Learn how to prevent the Enter key from submitting a form while a Japanese user is still typing, and why it matters for user experience
Dev.to · greymoth
📰
The two-Reacts bug: when packages aren't singletons
Learn to fix the two-Reacts bug by understanding how to handle non-singleton packages in React applications
Dev.to · r9v
📰
🚀 Introducing Prism Guard — An Open Source Frontend Architecture Intelligence Platform
Learn about Prism Guard, an open-source frontend architecture intelligence platform, and how it can help improve codebase quality
Dev.to · Ritumoni Sarma
📰
The Death of the Heavy Hydration Layer
Learn why plain HTML is the new developer flex and how to simplify web development by ditching heavy hydration layers
Dev.to · Amodit Jha
Up next
The masks we wear | Zora Krstić | TEDxLuxembourgCity
TEDx Talks
Watch →