Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think you would need read <a href="https://stackoverflow.com/questions/899252/can-you-target-br-with-css">this question with all its answers</a>.</p> <p>By the way if you need to simulate this behavior in Chrome I think you can simulate a <code>&lt;br/&gt;</code> with <code>&lt;span&gt;</code>. Something like this:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;style&gt; p.normal::selection { background:#cc0000; color:#ff0; } p.normal span::selection { background:#cc00ff; color:#ff0; } p.normal span { width:100%; clear:left; display: block; height: 1em; } p.moz::-moz-selection { background:#cc0000; color:#ff0; } p.webkit::-webkit-selection { background:#cc0000; color:#ff0; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p class="normal"&gt;Hello Normal &lt;span&gt;&lt;/span&gt; &lt;span&gt;&lt;/span&gt; &lt;span&gt;&lt;/span&gt; How are you? &lt;/p&gt; &lt;p class="moz"&gt;Hello Mozilla &lt;br/&gt; &lt;br/&gt; &lt;br/&gt; How are you? &lt;/p&gt; &lt;p class="webkit"&gt;Hello Webkit &lt;br/&gt; &lt;br/&gt; &lt;br/&gt; How are you? &lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>EDIT:</strong></p> <p>After several tests, I concluded that to replicate the behavior in Chrome you would need a javascript that replicate <a href="http://jsfiddle.net/Galled/xEF7h/40/" rel="nofollow noreferrer">this styles</a>.</p> <p><strong>EDIT2:</strong></p> <p>To remove the pink border in the second line I make another <a href="http://jsfiddle.net/Galled/xEF7h/63/" rel="nofollow noreferrer">demo</a> (I think it's more clear).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload