The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] What is the purpose of putting "*" in css?
Hello guys, I was just trying to cleaning my CSS in bootstrap, but I found lot’s places they had putted “*” before CSS property..why?
Thanks Rihan
No see the following coding –
#container { border: 1px solid black; *border: 1px solid black; }
And also what is the meaning of this ?
.container { background-color: #080808 \9; background-color: #080808; }
They are both ‘hacks’ for older versions of Internet Explorer.
See broswerhacks.com or https://css-tricks.com/snippets/css/browser-specific-hacks/
Thanks everyone :-)