Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Border color like firebug inspect element

Tags:

css

I would like to reproduce the border color made by firebug when you try to inspect the DOM element in a web page.

It looks like the border around the text "Link2" of the following image.

enter link description here

The border around the text "Link" is what I did. The code is visible from this link. jsfiddle.

Can someone help me to write the css code to reproduce the border of Link2?

Thanks

like image 235
antonjs Avatar asked Jan 01 '26 00:01

antonjs


1 Answers

You'll need to use box-shadows, like this:

http://jsfiddle.net/GolezTrol/AEDsY/

.cl3 {
    -webkit-box-shadow: 0 0 3px 3px lightblue;
    -moz-box-shadow: 0 0 3px 3px lightblue;
    box-shadow: 0 0 3px 3px lightblue;
}
like image 163
GolezTrol Avatar answered Jan 03 '26 15:01

GolezTrol



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!