Jump to content
  • 0

Помогите реализовать


boo
 Share

Question

3 answers to this question

Recommended Posts

  • 0

Куча вариантов есть.

Самый нормальный - вертикальную "палку" вырезаешь в фш (внизу обязательно должен быть белый зазор). А горизонтальные через бг на лишки.

Второй вариант через афтеры на список и лишки. Так вообще можно без картинок порешать, все через бг или бордеры.

Третий вариант через класс или селектор :last-child

Короче куча всего

Link to comment
Share on other sites

  • 0

Извините, ребят. Я как обычно сначала спросил, а потом подумал :D

Короче с помощью :bofore задал списку content: "— " и relativ'ом просто подвигал пункты, а всесму списку задал левый бордер.

Если интересно вот код.


.into-ul {
margin-top: 20px;
color: #908e8e;
border-left: 1px solid #908e8e;
position: relative;
top: -7px;
}
.into-li {
list-style: none;
position: relative;
left: -40px;
top: 8px;
}
.into-li:before {
content: "— ";
}

и хтмл


<li class="title-li">Межкомнатные двери
<ul class="into-ul">
<li class="into-li">Серия «Эльза»</li>
<li class="into-li">Серия «Волна»</li>
<li class="into-li">Серия «Софья»</li>
<li class="into-li">Серия «Престиж»</li>
<li class="into-li">Серия «Эконом»</li>
</ul>
</li>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy