Design+Code logo

Quick links

Suggested search

About this Course

In this free Webflow course, I'm teaching you how to implement and deploy a real site for Angle from scratch without a single line of code. It's going to be a fully functional site with multiple pages, advanced interactions, dynamic data, payments and animated assets from Shape.

Projects

Untitled

  1. Final Site
  2. Getting Started with Webflow
  3. Flex, Grid and Adaptive Layout
  4. Components and Nav Bar
  5. Tabs and Advanced Layout
  6. Transitions and States
  7. Animations and Interactions
  8. Scroll Parallax
  9. Start Animation
  10. Lottie Animations
  11. Design with Data and CMS
  12. Symbols, Links and Pages
  13. Forms and Submit Data
  14. Ecommerce and Custom Code

Getting Started

In this section, we'll learn how to create an adaptive Navbar. We'll also learn how to turn it into a Hamburger Menu when the screen size is too small.

Navbar

To add a Navbar, select Body and add the Navbar element under Components. Place it above Hero so that it's at the top of the page. Set the Position to Absolute to make it float and set its width to 100%. Set the background to transparent by simply entering 'transparent' in the color input field. Now, go to Position and give top the value of 30. Set the font-color to black, font-weight to Medium and font-size to 16.

Logo

Now, we'll add a logo to the Navbar. Select Brand in Navbar, insert an image element in it and then choose the Angle logo file. To properly align the image, select Brand and set its width as well as height to 60. In Display, choose Flex. Select the 2nd option for both Align and Justify to make sure that it's centered. The best thing is that Webflow does all the work for us in terms of adaptiveness.

Preview

When you click on the 'eye' icon in the left, you enter the Preview mode. Preview is where you can interact with the website. If you go to the preview mode, you can see that the Navbar items are normal links. There's also some default interaction when you click on the hamburger menu. We'll be adding custom interactions now.

Interactions

Head back to the Editor by clicking the 'eye' icon again. Select the Navbar and go to Element Settings by clicking on the cog icon next to the brush icon on the right. In Navbar Settings, click on the 'Open Menu' button so that the menu stays open, this makes it easier to make changes and see them right away. In Menu Type, select Over Right.

Styling Navbar

Select the Nav Menu and set the background-color to white. To have the change take effect, go back to settings, close and open the menu again. Test it in Preview to make sure it works fine. We made the recent changes to Mobile devices, what we should have done is made them for Tablets first so the smaller devices would have simply inherited it. To rectify this, click on the Tablet icon and change the color to white there as well.

Lightbox

Head back to Desktop, close the Navbar and select Hero. Add a Div Block to Hero and then add the Lightbox component to the newly created Div Block. Click Lightbox Link and choose the Mockups1 file as the image. Duplicate Lightbox Link twice. Now, select the Div Block and in Display, choose Grid because we want to have gaps. Click on the '+' icon in Columns to add another column. Remove the 2nd row in Rows. Set the gap for each column to 30px. Lastly, change the 2nd image to Mockups2 and the 3rd one to Mockups3.

Styling Lightbox

Start off by clicking on the 1st Lightbox Link and give it a padding of 20 on all sides. You can also press Shift and scrub up & down to apply a specific number to all the sides at once. Set the background to white and border-radius to 50. Add a box shadow, set Angle to 180, Distance to 30, Blur to 60 and the A value in color to 15.

Reusing Class

We want to apply the same styles to the other two Lightbox Links as well. Classes make this very easy. Though, the classes don't get applied to similar components by default, all we've to do is type in the name of the class in the Selector input field. In this case, add 'Lightbox Link' to the other two components. To ensure that the components do not take up the full width and height of the component, select Div Block and in Align, choose the 1st option i.e. Align Items: Start. Lastly, add a padding of 30 to all sides.

Lightbox Link

Go to Lightbox Link Settings for the first link. In media, click on the image icon and add Mockups1. Now, if you click on the first image, you'll see an enlarged version of it on the screen. Do the same for the second and the third link. To be able to navigate between the links, check the 'Link with other lightboxes' option and add Mockups as the group name. Make sure to do this for all the Lightbox Links.

Responsiveness

Let's add some responsiveness to our Lightbox component. Firstly, click on the tablet icon and reduce the border-radius for the Lightbox Links to 20. We'll also decrease the gap between the link by clicking the 'Edit Grid' button and setting the column gap to 20. Set padding-left and padding-right to 20.

Mobile Responsive

For mobile-landscape, we'll be reducing the padding. Press shift and scrub up until the value is 10. Lastly, let's deal with mobile portrait. Select the Div Block and click on the 'Edit Grid' button. In columns, remove the last two so every column takes up 100% of the width. You can now Publish the website and test it to make sure everything looks fine.

Conclusion

In this section, we learned how to create a Navbar, how to create a Lightbox and add navigation to it. In the next one, we'll be creating a phone interaction using tabs. Hope to see you there!

Steps


Components

Add Navbar component

Navbar

Select Body

Create Navbar

Background Transparent

Position Absolute (or Fixed), Top 30px, Tablet Top 0px

Width 100%

Color Black

SF Pro Rounded, Medium

Size 16px

Logo

Brand container 60x60

Flex W Center H Center

Create Div

Display Grid, Remove Row

Gap 30px

Shift Padding 30px

Align Top

Lightbox Link

Mockup-1

Radius 50px

Background White

Shift Padding 20px

Box Shadow 30px, 60px 15%

Flex, Align Top

Set Media in Element Settings

Duplicate

Mockup 2, 3

Change Media

Link with other lightboxes

Group name Mockups

Media Queries

Tablet: Lightbox padding LR 20px, Gap 20px

Mobile Landscape: Link Radius 20px, Padding 10px

Mobile Portrait: 1 Column

BACK TO

Flex, Grid and Adaptive Layout

READ NEXT

Tabs and Customizations

Templates and source code

Download source files

Download the videos and assets to refer and learn offline without interuption.

check

Design template

check

Source code for all sections

check

Video files, ePub and subtitles

Assets

Videos

ePub

Subtitles

Meet the instructor

We all try to be consistent with our way of teaching step-by-step, providing source files and prioritizing design in our courses.

Meng To

I design, code and write

Meng To is the author of Design+Code. Meng started off his career as a self-taught designer from Montreal and eventually traveled around the world for 2 years as his US VISA was denied. During his travels, he wrote a book which now has 35,000 readers.

icon

39 courses - 184 hours

course logo

Build SwiftUI apps for iOS 18 with Cursor and Xcode

In this course, we'll explore the exciting new features of SwiftUI 6 and Xcode 16 for building iOS 18 apps. From mesh gradients and text animations to ripple effects, you'll learn how to create polished, highly custom apps using the latest workflows. We'll also dive into using Cursor and Claude AI for AI-driven coding, helping you start strong and customize your apps.

5 hrs

course logo

Create your Dream Apps with Cursor and Claude AI

Learn to build your dream web apps from the ground up using Cursor, Claude AI, and a suite of powerful AI tools. This course covers everything you need, including React for frontend development, Firebase for backend integration, and Stripe for handling payments. You’ll also dive into advanced AI tools like Claude Artifacts, Galileo AI, v0.dev for UI, Ideogram for design generation, and Cursor Composer for full-scale development.

6 hrs

course logo

Build a React Site from Figma to Codux

In this course, you'll learn to build a website from scratch using Codux, starting with a Figma template. You’ll master responsive design, collaborate with developers on a real React project, export CSS from Figma using Locofy, set up breakpoints with media queries, add CSS animations, improve SEO, create multiple pages with React Router, and publish your site. By following best practices, you’ll bridge design and development, improve your web design skills.

2 hrs

course logo

Create 3D UI for iOS and visionOS in Spline

Comprehensive 3D Design Course: From Basics to Advanced Techniques for iOS and visionOS using SwiftUI

3 hrs

course logo

Master No-Code Web Design with Framer

In this free Framer course, you'll learn to create modern, user-friendly interfaces. Start with dark mode and glass designs, then move from Figma to Framer, using vectors and auto layout for responsive websites. Add animations, interactive buttons, and custom components with code. Finally, you'll craft a design system suitable for teamwork or solo projects, all in a straightforward and practical approach.

4 hrs

course logo

Build SwiftUI Apps for iOS 17

In this course, we’ll be exploring the fresh and exciting features of SwiftUI 5! As we craft a variety of iOS apps from the ground up, we'll delve deep into the treasure trove that is SwiftUI's user interface, interactions, and animations.

4 hrs

course logo

Build Beautiful Apps with GPT-4 and Midjourney

Design and develop apps using GPT-4 and Midjourney with prompts for SwiftUI, React, CSS, app concepts, icons, and copywriting

4 hrs

course logo

Build SwiftUI apps for iOS 16

Create animated and interactive apps using new iOS 16 techniques using SwiftUI 4 and Xcode 14

5 hrs

course logo

Build a 3D Site Without Code with Framer

Design and publish a responsive site with 3D animation without writing a single line of code

3 hrs

course logo

Create 3D Site with Spline and React

Design and code a landing page with an interactive 3D asset using Spline and CodeSandbox

1 hrs

course logo

Build an Animated App with Rive and SwiftUI

Design and code an iOS app with Rive animated assets, icon animations, custom layouts and interactions

3 hrs

course logo

Build a SwiftUI app for iOS 15 Part 3

Design and code a SwiftUI 3 app with custom layouts, animations and gestures using Xcode 13, SF Symbols 3, Canvas, Concurrency, Searchable and a whole lot more

4 hrs

course logo

Build a SwiftUI app for iOS 15 Part 2

Design and code a SwiftUI 3 app with custom layouts, animations and gestures using Xcode 13, SF Symbols 3, Canvas, Concurrency, Searchable and a whole lot more

3 hrs

course logo

Build a SwiftUI app for iOS 15

Design and code a SwiftUI 3 app with custom layouts, animations and gestures using Xcode 13, SF Symbols 3, Canvas, Concurrency, Searchable and a whole lot more

4 hrs

course logo

React Livestreams

Learn how we can use React Hooks to build web apps using libraries, tools, apis and frameworks

4 hrs

course logo

Design Founder Livestreams

A journey on how we built DesignCode covering product design, management, analytics, revenue and a good dose of learning from our successes and failures

2 hrs

course logo

SwiftUI Advanced Handbook

An extensive series of tutorials covering advanced topics related to SwiftUI, with a main focus on backend and logic to take your SwiftUI skills to the next level

4 hrs

course logo

iOS Design Handbook

A complete guide to designing for iOS 14 with videos, examples and design files

2 hrs

course logo

SwiftUI Handbook

A comprehensive series of tutorials covering Xcode, SwiftUI and all the layout and development techniques

7 hrs

course logo

Build a web app with React Hooks

Learn how we built the new Design+Code site with React Hooks using Gatsby, Netlify, and advanced CSS techniques with Styled Components.

4 hrs

course logo

UI Design Handbook

A comprehensive guide to the best tips and tricks for UI design. Free tutorials for learning user interface design.

2 hrs

course logo

Figma Handbook

A comprehensive guide to the best tips and tricks in Figma

6 hrs

course logo

SwiftUI for iOS 14

Build a multi-platform app from scratch using the new techniques in iOS 14. We'll use the Sidebar and Lazy Grids to make the layout adaptive for iOS, iPadOS, macOS Big Sur and we'll learn the new Matched Geometry Effect to create beautiful transitions between screens without the complexity. This course is beginner-friendly and is taught step-by-step in a video format.

3 hrs

course logo

SwiftUI Livestreams

This is a compilation of the SwiftUI live streams hosted by Meng. Over there he talks and teaches how to use design systems, typography, navigation, iOS 14 Design, prototyping, animation and Developer Handoff.

19 hrs

course logo

UI Design Livestreams

This is a compilation of the UI live streams hosted by Meng. Over there he talks and teaches how to use design systems, typography, navigation, iOS 14 Design, prototyping, animation and Developer Handoff.

26 hrs

course logo

UI Design for Developers

In this course we'll learn how to use design systems, set up break points, typography, spacing, navigation, size rules for adapting to the iPad, mobile and web versions, and different techniques that translate well from design to code.

3 hrs

course logo

Build an app with SwiftUI Part 3

This course was written for designers and developers who are passionate about design and about building real apps for iOS, iPadOS, macOS, tvOS and watchOS. SwiftUI works across all of those platforms. While the code is not a one-size-fits-all, the controls and techniques involved can apply to all platforms. It is beginner-friendly, but it is also packed with design tricks and cool workflows about building the best UIs and interactions.

4 hrs

course logo

Build an app with SwiftUI Part 2

This course was written for designers and developers who are passionate about design and about building real apps for iOS, iPadOS, macOS, tvOS and watchOS. SwiftUI works across all of those platforms. While the code is not a one-size-fits-all, the controls and techniques involved can apply to all platforms. It is beginner-friendly, but it is also packed with design tricks and cool workflows about building the best UIs and interactions.

4 hrs

course logo

Build a full site in Webflow

Webflow is a design tool that can build production-ready experiences without code. You can implement CSS-driven adaptive layouts, build complex interactions and deploy all in one tool. Webflow also comes with a built-in content management system (CMS) and Ecommerce for creating a purchase experience without the need of third-party tools.

3 hrs

course logo

Advanced Prototyping in ProtoPie

ProtoPie is a cross-platform prototyping tool that creates prototypes nearly as powerful as those made with code, with half of the efforts, and zero code. It's perfect for designers who want to quickly experiment with advanced interactions using variables, conditions, sensors and more.

3 hrs

course logo

Build an app with SwiftUI Part 1

This course was written for designers and developers who are passionate about design and about building real apps for iOS, iPadOS, macOS, tvOS and watchOS. SwiftUI works across all of those platforms. While the code is not a one-size-fits-all, the controls and techniques involved can apply to all platforms. It is beginner-friendly, but it is also packed with design tricks and cool workflows about building the best UIs and interactions.

4 hrs

course logo

React Native for Designers Part 2

React Native is a popular Javascript framework that builds on top of React by using native components to create a real mobile app indistinguishable from one made using Xcode or Android Studio. The main difference with native development is that you get to use CSS, hot-reload, Javascript and other familiar techniques that the Web has grown over the past decades. Most importantly, you're building for both iOS and Android using the same codebase.

3 hrs

course logo

React Native for Designers

React Native is a popular Javascript framework that builds on top of React by using native components to create a real mobile app indistinguishable from one made using Xcode or Android Studio. The main difference with native development is that you get to use CSS, hot-reload, Javascript and other familiar techniques that the Web has grown over the past decades. Most importantly, you're building for both iOS and Android using the same codebase.

5 hrs

course logo

Design System in Figma

Learn how to use and design a collaborative and powerful design system in Figma. Design Systems provide a shared library of reusable components and guidelines and that will let you build products much faster

3 hrs

course logo

React for Designers

Learn how to build a modern site using React and the most efficient libraries to get your site/product online. Get familiar with Grid CSS, animations, interactions, dynamic data with Contentful and deploying your site with Netlify.

3 hrs

course logo

Swift Advanced

Learn Swift a robust and intuitive programming language created by Apple for building apps for iOS, Mac, Apple TV and Apple Watch

9 hrs

course logo

Learn Swift

Learn Swift a robust and intuitive programming language created by Apple for building apps for iOS, Mac, Apple TV and Apple Watch

4 hrs

course logo

Learn Sketch

Learn Sketch a design tool entirely vector-based and focused on user interface design

5 hrs

course logo

Learn iOS 11 Design

Learn colors, typography and layout for iOS 8

1 hrs

Test your knowledge of Webflow. Complete the course and get perfect results for this test to get your certificate.