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

Daniel Mohlendick

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

Bob Patterson

Not only is John a very talented programmer and developer, he is also an excellent communicator. He has a talent for taking complex subjects and communicating them in terms that anyone can understand. This is a rare combination. This ability has enabled me to take my skills and knowledge to the next level. Thank you John for for all that you do.

Aaron Gott

Aaron Gott

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

Sukh Plaha

John is a fantastic and patient tutor, who is not just able to share knowledge and communicate it very effectively – but able to support one in applying it. However, I believe that John has a very rare ability to go further than just imparting knowledge and showing one how to apply it. He is able to innately provoke one’s curiosity when explaining and demonstrating concepts, to the extent that one can explore and unravel their own learning journey. Thanks very much John!

Chris Aitken

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

Thabo Motsoahae

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

Lori Grant

John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.

Jason Rumley

Jason Rumley

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

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!

Oliver Wainwright

Oliver Wainwright

I’m a fan. I have completed several of John’s courses. I find him very knowledgeable and he has a great delivery.

Xan Barksdale

Xan Barksdale

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

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.