.item { display: inline-block; } .item :global(> .ext-link) { background: #000; } .link, .textLink { color: red; } .textLink { padding: 0 10px; }