Tag: css grid

2 ways to horizontally center a DIV in CSS

Let’s take this simple HTML structure: The first method involves some straight-forward CSS: Doesn’t get much simpler than that: And, if it this is all you need to do, you can probably stop here. But, sometimes what you’re actually trying to do is a little more complicated and you need some more flexibility. Enter CSS Grid: Here, we’re creating a grid with 1 column that fills the entire space of the parent DIV. Then, a child DIV with a 60% width. And, using justify-items to center the child DIV. This might seem like overkill for something this simple, but it

Read More »

Building a responsive grid with CSS Grid

If you haven’t messed with it, yet… CSS Grid is pretty handy. Take this HTML, for example: <div class=”wrapper”> <div class=”box”>1</div> <div class=”box”>2</div> <div class=”box”>3</div> </div> We can easily create a grid like this: .wrapper { display: grid; grid-template-columns: 100px 100px 100px; grid-gap: 10px; } That’ll give you a grid that looks something like this: And, you can do even more complex layouts like this:​​​​ With just a few lines of code. Again, pretty handy. Anyway, one of the things I immediately wanted to do was build a Bootstrap-like grid system using CSS Grid. So, I did… and I put it

Read More »

JMS066: The New CSS Grid Layout, Niche Down to Niche Up and More

In Episode 66 of the John Morris Show: the new native browser support for CSS grid layouts, getting started with web development, niching down to niche up and more: Subscribe to the Podcast [saf] Here’s the line-up: Opening and Patreon [2:56] Native browser support for CSS grid layouts [10:14] Long-term thinking and patience [21:54] How to get started with web development [42:57] Niche down to niche up [1:01:25] Weekly Q&A [1:11:06] Links mentioned in this episode: CSS Grid – The Next Evolution of Web Layout The future of layout with CSS: Grid Layouts Grid by Example If you liked the show,

Read More »

The simple secrets to high-paying freelance clients

What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:

Clients Like:

Inc. Magazine Logo
Lewis Howes Logo
Ray Edwards Logo

WHAT OTHERS ARE SAYING

Bradley Smith

John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Chris Aitken

He significantly improved my site through his expert knowledge of PHP, CSS and Javascript. Would definitely recommend John to others.

Steve Dimmick

Steve Dimmick

John has provided expert knowledge and advice on multiple occasions that have helped me better serve my clients. John is a Rockstar!

Jason Rumley

Jason Rumley

John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Andrew Malone

Andrew Malone

John Morris is exceptional in his ability to give focused insight into Freelancing and starting one’s business. His direct methods inspire confidence in his honesty.

Michael Skye

Michael Skye

John is a man of integrity, who gives generously of himself to projects and people he cares about.

Xan Barksdale

Xan Barksdale

Very professional worker who is extremely knowledgable in WordPress and Wishlist Member. I would definitely hire again.

Jim DeJonge

Jim DeJonge

John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.

Aaron Gott

Aaron Gott

John has a particular knack for the development and training of others.