In Reactjs, I am creating a container with three equally sized columns. Currently my code creates the three columns but they only occupy the center section of the page, leaving a lot of space to the right and left of the columns.
I want the three columns to take up more of the entire row horizonatally.
Here is my js code:
import React from 'react';
import { Row, Col, Container } from 'react-bootstrap';
import classes from './PainPoints.css';
const painPoints = (props) => {
return (
<div className={classes.ContentBoxLarge}>
<div>
<div className={classes.SectionHeader}>
<h1>Industry Pain Points:</h1>
</div>
</div>
<Container>
<Row>
<Col className={classes.Column}>
<div>Excessive Fees</div>
</Col>
<Col>
<div>Middleman Price Markups</div>
</Col>
<Col>
<div>Anonymous Ticket Holders</div>
</Col>
</Row>
</Container>
</div>
)
}
export default painPoints;
Here's my CSS code:
.ContentBoxLarge {
padding: 80px 0;
}
.Column {
width: 1170px;
}
.SectionHeader {
text-indent: 150px;
margin: 0 0 0 0;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}