E
E
Extramezz2015-10-20 15:48:37
css
Extramezz, 2015-10-20 15:48:37

3 blocks in one line?

There is a rubber block. I want to put 3 more blocks in it, all in 1 line. The first and second of these both have a 2px stroke on the right, and here's how to make each stroke 1/3 of the parent's width.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2015-10-20
@Extramezz

.block {
  box-sizing: border-box;
  width: 33.333%
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question