I’m trying to write an NCAA bracket submission app, but I’m having trouble figuring out how to arrange the HTML elements in the shape of a bracket like this. I’d like to use Bootstrap to keep the UI looking clean, but I’m not tied to it. Any advice?
I’m trying to write an NCAA bracket submission app, but I’m having trouble figuring
Share
There are great sample HTML/CSS brackets using divs be found here. Alternatively, a good example of a two sided HTML/CSS bracket using unordered lists can be found here. Check out the source code and figure out what works best for you.
I think a better approach would be to use an HTML
tablewith a specific CSSborderfor each cell. I have created a rough example below. But you’ll probably want to play around with it yourself, check out the links, and see what works best for your app. Best of luck!HTML:
CSS:
JS Fiddle Example