body { background: black; } div { height: 50px; width: 150px; background: #444; border: 1px solid #fff; }
<div></div>
outline: solid 1px #fff
did I understand you correctly?
body { background: black; } div { height: 50px; width: 150px; background: #444; outline: 1px solid #fff; outline-offset: -15px; }
Source: https://ru.stackoverflow.com/questions/722342/More articles:jquery function $Crontab run at different intervals at different timesProblem with squattingSearch for external links in jQueryThe difference in seconds between the time for today and a given dateError inserting Cyrillic characters - ORA-12899: value too large for columnGolang multiple-value http.Get () in single-value contextTo give an error if the user enters a character or garbage of type 1w2d into the sorted array.AnchorPane to ScrollPaneOne script breaks the following in main.jsAll Articles
outline: solid 1px #fff- user242433