Hi,
Am not able to reproduce the issue with the above code. I also added skeleton css framework but its still working fine (I guess you are using skeleton let me know if its something else).
If you can create a fiddle for the same, that would be helpful.