No, Its not bad to use it like this.
But you can avoid this using psudeo content like,
.showinfo:after{
content: "";
display: block;
/*
this will be the style for your div after
but dont forget to specifiy the width and height and act like its a new div
*/
}