border-left to li css code example Example: css border-left p { border-left: 10px inset green; } h1 { border-left: 15px solid blue; }