Answers for "flex example in css"

CSS
4

flex box in css

<!--basic--flex--layout-->
<html>
	<head>
		<style>
			.parent{
              display:  flex or inline-flex;
              flex-direction: row  or column;
              flex-wrap: wrap or wrap-reverse;
 			}
		</style>
	</head>
	<body>
		<div class="parent">
			<div class="child-1"></div>
			.
			.
			.
		</div>
	</body>
</html>
Posted by: Guest on April-26-2020
0

css flex

.item {
  flex-basis:  | auto; /* default auto */
}
Posted by: Guest on January-26-2021
0

css flex

.item {
  flex-shrink: 3; /* default 1 */
}
Posted by: Guest on January-26-2021

Browse Popular Code Answers by Language