import {Row , Col} from 'antd';
<Row>
<Col span={8}>Hello</Col>
<Col span={8}>Hello</Col>
<Col span={8}>Hello</Col>
</Row>
// <Row gutter={[vertical , horesizntal]}>
<Row gutter={[16 , 24]}>
<Col span={24}>Hello</Col>
<Col span={24}>Hello</Col>
</Row>
<Row gutter={16}>
<Col span={12} offset={12}>Hello</Col>
</Row>
<Row>
<Col span={6} push={12}>Secound in order</Col>
<Col span={12} pull={6}>First in order</Col>
</Row>
<Row justify={'start'}>
<Col span={3}>3</Col>
<Col span={3}>3</Col>
<Col span={3}>3</Col>
</Row>
<Row justify={'start'} align={'top'}>
<Col span={3}>3</Col>
</Row>
<Row justify={'start'} align={'middle'}>
<Col span={3}>3</Col>
</Row>
<Row justify={'start'} align={'bottom'}>
<Col span={3}>3</Col>
</Row>
<Row>
<Col span={6} order={4}>
1 order-4
</Col>
<Col span={6} order={3}>
2 order-3
</Col>
<Col span={6} order={2}>
3 order-2
</Col>
<Col span={6} order={1}>
4 order-1
</Col>
</Row>
<Row>
<Col flex="100px">100px</Col>
<Col flex="auto">Fill Rest</Col>
</Row>
// xs , sm , md ,lg , xl , xxl
<Row gutter={[16 , 32]} style={{ background: 'red' }}>
<Col span={24} style={styles}><Typography.Title>Header</Typography.Title></Col>
<Col md={12} xs={24} style={styles}>lorem</Col>
<Col md={12} xs={24} style={styles}>side</Col>
</Row>
OR
<Row gutter={[16, 32]} style={{ background: 'red' }}>
<Col span={24} style={styles}><Typography.Title>Header</Typography.Title></Col>
<Col md={{ span: 12, offset: 1 }} xs={{ span: 24, offset: 0 }} style={styles}>lorem</Col>
<Col md={{ span: 10, offset: 1 }} xs={{ span: 24, offset: 0 }} style={styles}>lorem</Col>
</Row>
Login pageSignup pageHome pageList frindesAdd friend + invite friendJoin puplic gameCreate new gameGame roomGame show ruleGame room silent statusGame room discussionGame room voteGame room vote resultVictoryGame points + repeat game or back homeRank page
Nov 30, 2023grades
Sep 2, 2023index -> charts and statistics
Jul 24, 2023CORE MODULES GLOBALS global classes example (Math class) cont val = Math.abs(-5); global functions example (fetch) fetch('https://jsonplaceholder.typicode.com/todos/1') .then(response => response.json()) .then(json => console.log(json))
Jun 4, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up