Skip to content

NoonPanirSabzi/recipe-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Page

Table of contents

Overview

Screenshot and live site URL

Desktop Tablet Mobile
desktop Tablet Mobile

Live Site URL

My process

Built with

  • Semantic HTML
  • Flexbox

What I learned

Ordered and unordered lists in HTML have a padding-left value that causes both the text and the bullet or number at the beginning of each line to shift to the right. By setting the padding-left value for the ul or ol element, you can control how far the text and the bullet or number are shifted together. For example:

ul {
  padding-left: 1.25rem; /* shifts the bullet and text to the right */
}

If you want to shift only the text to the right—without changing the bullet or number position—you can set the padding-left on the li element instead:

li {
  padding-left: 1rem; /* shifts text to the right */
}

Useful resources

Author

Inspired by

About

simple recipe page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published