Пожалуйста, помогите мне понять этот код сборки

Я считаю, что исправил его: https://github.com/gurjeet/CSSTree/pull/1

Я изменил CSS, чтобы удалить фон и изменить margin to padding.

ul.tree, ul.tree ul {
    list-style-type: none;
    margin:0;
    padding:0;
}

ul.tree ul {
    padding-left: 1em;
    background:  url(vline.png) repeat-y;
}

ul.tree li {
    margin:0;
    padding: 0 1.2em;
    line-height: 20px;
    background: url(node.png) no-repeat;
    color: #369;
    font-weight: bold;
}

/* The #fff color background is to hide the previous background image*/
ul.tree li.last {
    background: #fff url(lastnode.png) no-repeat;
}

ul.tree ul:last-child {
    background: none;
}

0
задан Tammy Moscoso 25 February 2019 в 00:15
поделиться