React responsive layout without CSS React responsive layout without CSS javascript javascript

React responsive layout without CSS


Use flexbox in inline styles. You are already using inline style from the look of your code. Here is some help


You can use react-flexbox-grid to layout components easily without touching any CSS.

const {Grid, Row, Col} = require('react-flexbox-grid');const App = React.createClass({  render() {    return (      <Grid>        <Row>          <Col xs={6} md={3}>Hello, world!</Col>        </Row>      </Grid>    );  }});