mobile menu trigger, icon

Blog

I write about Web Development, WordPress and Freelancing. But you may be not interested in all these topics. See the topics below that are interesting to you and you're curious to explore.

How to create a video background in HTML CSS (including fullscreen)?

Video background HTML CSS

In this post, I will show you how to create video backgrounds in HTML & CSS. Here I will include multiple examples. Such as: In all these examples, the videos will have an autoplay feature (including YouTube). Before you start, let’s see the demo of the finished product (in the link below). Let’s get started. Create a banner section that has an autoplay video background To create this banner section with an autoplay video background, I have the following HTML & CSS. HTML As you see above, I included the video in the HTML instead of CSS. Normally, we add […]

Read More →

How to easily center a video in html?

Center aligned video in computer window

Inserting a video in HTML is easy but centering it can be tricker sometimes. Here you’ll see how to center a video very easily in your HTML document. You can include a video in HTML from many different sources. Such as self-hosted videos, and embedding from YouTube, Vimeo, etc. Anyways, whatever the source you’re using, I will make sure that everyone can center their videos perfectly. You can see the demo of the finished products (in the link below) before diving in. Let’s get started. Centering a video in your HTML document In this section, I am using a self-hosted […]

Read More →

How to create responsive tabs using HTML CSS & JS (2 examples)

Create tabs using HTML, CSS & JavaScript

In this post, I will show you how to create mobile responsive tabs using HTML, CSS & JavaScript. I will give you two different layouts (designs). Also, you’ll get the source code for these tabs. See the screenshot of the 2 tabs that you’re going to build: Do you want to see the live preview? Click the button below. It contains both examples. Let’s get started. Project structure Before we dive in, let me show you the project structure. I have 3 files such as index.html, style.css & script.js (as you see in the infographic below). However, you may create […]

Read More →

Learn Git from the very basic

Learn Git from the very basic

You can think of this post as an online course to learn Git for free. I will walk you through very basic steps such as definition, installation, command line interface, etc, to the advanced level. I included video instructions where it’s applicable & necessary. Also, I explained each & every subject/topic from the ground up and provided practical examples. Therefore if you still have any questions, you can ask me. What you’ll get: After you go through this course, you’ll be able to use Git in your everyday life. This will make your life as a developer much easier than […]

Read More →

13+ Animated background CSS examples (source code included)

Animated background examples

In this post, I will show you some exceptional animated backgrounds. I only used CSS to create those animations. There is no JavaScript involved. You’ll see all the demos and also you’ll get the code (HTML & CSS). There is an icon on the top-right edge of each code block. You can click this icon to copy the entire code block. Let’s get started. Animated background examples I used CSS keyframes & animation property to create the background animations. Some of the examples contain images that I created myself or I own them. If you like, you can use them […]

Read More →

Learn CSS from the ground up

Learn CSS from the ground up

Throughout the years, I wrote a lot on CSS. This post contains all the resources that you should know to learn CSS from the ground up. It will take you from the very basic to a little further. At least, these will give you a rock-solid concept of CSS. All these posts contain source code, examples, and other necessary resources. Think of this post as a beginner guide to learning CSS. SL History & basic concept 1 What is CSS? 2 What is the difference between CSS and CSS3? 3 How to add a stylesheet to HTML? 4 Comment for […]

Read More →

17+ HTML CSS projects with source code

Real projects on HTML CSS

In this post, I will give you a list of HTML & CSS projects so you can practice & brush up on your skills. I built each of these projects from scratch. In these projects, you’ll build small websites, pages, templates, and single components like cards, navbar/header, footer, slider, etc. These are also real-world projects that will help you to create living breathing websites. Table of contents SL Detail project link 1 About us page 2 Portfolio website design 3 Computer science portfolio 4 Testimonial page 5 Team page 6 Contact us page 7 Multiple-page website 8 Thank You page […]

Read More →

How to create a Thank You page in HTML CSS? (source code)

Thank you page html css template

When people buy something on our website or subscribe to the newsletter, we generally redirect them to a “Thank You” page. It’s a great opportunity to engage with our audience more closely & build business relationships. In this post, I will give you a thank you page template. And I will show you how I created this only using HTML & CSS. This template is fully mobile responsive, fast loading & well-structured. When I say well-structured, it means that I used semantic HTML where/when necessary and I did not even include a wrapper <div> just for the sake of limiting […]

Read More →

How to create a contact us page in HTML & CSS? (source code)

Contact page html css template

In this post, you’ll see how to create a mobile responsive “Contact Us” page design using HTML & CSS. I will give you all the source code for the template. Before you dive in, let’s see the demo of the finished page you will build. In this template (live preview), I also have two optional parts such as the header navigation & footer. But you can ignore that if you already have them in your existing template. I commented out both in HTML & CSS files so you can easily understand which code does what specific things. Let’s start building […]

Read More →

How to create an interactive team member page on your website?

Create an interactive team page

By the word “Interactive” here I meant the two-way flow of information. I am referring to a team page where the visitors will get the full information in two steps. In the first step, the visitors will see the list of all team members in your company (their photo & name). If they (visitors) choose to get more details about a specific team member, they will click on the photo or name of the person in the second step. And it will show the full detail about a team member. If this is not clear yet, please see a live […]

Read More →