T
T
tokmaganbet12018-02-11 13:05:35
css
tokmaganbet1, 2018-02-11 13:05:35

How to create a block with seat reservation?

What is the best way to make blocks with seat reservations?
5a80157d75aed154072563.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kn1ght_t, 2018-02-11
@kn1ght_t

something like this: https://jsfiddle.net/jopcqwe0/

F
Fareed, 2018-02-11
@Wingear

Rows can be made as div elements, give them the text-align: center property, add more div elements (places) inside them with the display: inline-block property, give them a fixed width and height. These places are made of two types: invisible and real. And then fill the rows with these "places". You can name the rows using the ::before and ::after pseudo-elements, but this is optional.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question