Bootstrap 3 Template
This is a simple Twitter Bootstrap 3 template. You can fork it to get a ready to use Bootstrap 3 fiddle.
by Nicolas PUJOL
HTML
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<form class="form-inline">
<div class="form-group">
<label class="sr-only" for="prenomInscription">Prénom</label>
<div class="input-group">
<div class="input-group-addon input-fleche">Prénom</div>
<input type="text" class="form-control input-fleche-padding" id="prenomInscription" placeholder="Votre Prénom" />
</div>
</div>
<button type="submit" class="btn btn-primary">Valider</button>
</form>
CSS
@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css');
body {
margin: 10px;
}
.input-fleche {
position: relative;
/*background-color: #eee;*/
}
.input-fleche:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-left-color: #eee;
border-width: 17px;
margin-top: -17px;
}
.input-fleche-padding {
padding-left:20px;
}