A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Glossary/Main_Axis below:

Main Axis - MDN Web Docs Glossary: Definitions of Web-related terms

Main Axis

The main axis in flexbox is defined by the direction set by the flex-direction property. There are four possible values for flex-direction. These are:

Should you choose row or row-reverse then your main axis will run along the row in the inline direction.

Choose column or column-reverse and your main axis will run top to bottom of the page in the block direction.

On the main axis you can control the sizing of flex items by adding any available space to the items themselves, by way of flex properties on the items. Or, you can control the space between and around items by using the justify-content property.

See also Property reference Further reading

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3