I have a row container and several div elements containing images. The first div element in the bunch has a class of col-xs-2
as well as offset-xs-3
. For some reason unknown to me, it will not work.
Here is the code:
<div>
<div className='jumbotron' style={{'text-align': 'center'}}>
<h1 className='header'>Welcome to Redux</h1>
<h4 className='header_subtext'>Check out dynamic state alteration</h4>
<br />
<div className='row'>
<div className='col-xs-2 offset-xs-3 '>
<img src='react.png' height='96' alt='React' onClick={this.handleVoteReact} />
</div>
<div className='col-xs-2'>
<img src='vue.png' height='96' alt='React' onClick={this.handleVoteVue} />
</div>
<div className='col-xs-2'>
<img src='angular.png' height='96' alt='React' onClick={this.handleVoteAngular} />
</div>
</div>
</div>
</div>