Get the previous sibling in CSS by changing the ~ operator with direction: rtl;

Previous article
Next article