How draw rectangle with css and eight divs

css

(alex) #1

hi all i have a html code with eight divs that 4 divs each have same id and i want use css only and no change on html and js is it possible make it overlaping? need complete css code . i use any css code but alway rectangle are not overlaping?

hi all i have a html code with eight divs that 4 divs each have same id and i want use css only and no change on html and js is it possible make it overlaping? need complete css code . i use any css code but alway rectangle are not overlaping?
>

    <div id='l1'></div>
    <div id='l1'></div>
    <div id='l1'></div>
    <div id='l1'></div>
    <div id='l2'></div>
    <div id='l2'></div>
    <div id='l2'></div>
    <div id='l2'></div>
    </board>