Codepen frustration!

I have been playing about on codepen for a while and can’t get simple html and css to work as intended.

As a test, I’ve now copied and pasted some code directly from w3schools and it still appears incorrectly.

It seems that Codepen is ignoring positioning? or adding margins? What am i doing wrong?

This is what it should look like though:


Don’t worry - I’m a fool, Bootstrap CDN was causing issues!

1 Like