home html css javascript creation generator web button navbar images how Contact login Pages

css align content properties tutorial

  • Web html5, css3, javascript, php, sql, jquery, xml, ajax, web design & development, photo maker, SEO.
  • Online web design, along with everything you need for a complete website.
  • the align-content property specifies how flex lines are distributed a flexbox/grid container.
  • stretch
  • flex-start
  • flex-end
  • center
  • space-between
  • space-around
  • space-evenly
  • It only applies if 'flex-wrap:wrap' is present, and if there are multiple lines of flexbox/grid items.
       

align-content: center

center

#demo{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: center; } #demo div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

center
center
center

align-content: stretch

stretch

#demo1{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: stretch; } #demo1 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

stretch
stretch
stretch

align-content: flex-start

flex-start

#demo2{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: flex-start; } #demo2 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

flex-start
flex-start
flex-start

align-content: flex-end

flex-end

#demo3{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: flex-end; } #demo3 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

flex-end
flex-end
flex-end

align-content: space-between

space-between

#demo4{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: space-between; } #demo4 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

space-between
space-between
space-between

align-content: space-around

space-around

#demo5{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: space-around; } #demo5 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

space-around
space-around
space-around

align-content: space-evenly

space-evenly

#demo6{ width: 200px; height: 250px; border: 1px solid #000; display: flex; flex-wrap: wrap; align-content: space-evenly; } #demo6 div, or p, or span{ width: 200px; height: 50px; color:#fff; text-align: center;}

space-evenly
space-evenly
space-evenly

syntax: align-content: stretch | flex-start | flex-end | center | space-between | space-around | space-evenly



All Basic HTML5

HTML is the main markup language for web pages, and its elements are the basic building blocks of web pages. HTML is written in the form of HTML elements consisting of tags enclosed in "greater than" and "less than" symbols within the content of the web page.


All Basic CSS3

CSS (Cascading Style Sheets) is a computer language that belongs to the category of style sheet languages used to control the appearance of a document written in a markup language.It is used to control the appearance of a document written in HTML and XHTML, that is, to control the appearance of a web page and a website in general.


js JAVASCRIPT

Javascript is a set of computer software and specifications developed by James Gosling at Sun Microsystems, later acquired by Oracle Corporation, which provides a system for developing application software and its development in a multi-platform computing environment.


CREATIONS

In this chapter I call creation I will present you creations html, css and javascript that are very useful and creative in a web site. You can get them ready-made with Netbax creations or create them yourself as you wish with the help provided by the Netbax editor.


NAVIGATION Bar

having easy-to-use horizontal & vertical menu is important for any web site. with css you can transform boring html menus into good-looking horizontal & vertical bars. horizontal & vertical menu is such an important part of your website. it’s how your visitors navigate to the main areas of your site and makes it easy for them to find.


WEB BUTTONS

Collection of hand-picked free HTML and CSS button code examples.In this article, we'll see some really cool looking responsive buttons using only a few lines of CSS.You are free to copy, modify and use this code as you wish.All the buttons shown here can scale accordingly to the font-size attribute, and should work in any relatively recent browser.

Netbax Contact Us