jgthms / bulma

Modern CSS framework based on Flexbox
https://bulma.io
MIT License
49.37k stars 3.95k forks source link

Question: container class does not center like in example? #1136

Closed sebstr1 closed 7 years ago

sebstr1 commented 7 years ago

Im trying to reproduce first example for the .container. I copy paste the code and it does center but not as much as the example output on bulma page. How do I fix that?

I am sorry but Im learning and I do not understand why It does not center as much as the example..

Thanks for your time!

jgthms commented 7 years ago

What's your code?

sebstr1 commented 7 years ago

I'm just using a single html file to test things out (great work with bulma :) )

First time writing on github so failing to get the entire code in this comment so I used a pastebin aswell

https://pastebin.com/fZiBPDeS

`<!DOCTYPE html>

This container is centered on desktop.
`
jgthms commented 7 years ago

Your markup is wrong. The link should be:

<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.1/css/bulma.css">

You should read http://marksheet.io/