CSS double border (2 colors) without using outline?
问题 I was wondering what you guys think is the easiest way to get a double border with 2 colors around a div? I tried using border and outline together and it worked in Firefox, but outline doesn't seem to work in IE and that's sort of a problem. Any good ways to go about this? This is what I had but outline does not work with IE: outline: 2px solid #36F; border: 2px solid #390; Thanks. 回答1: You can add multiple borders using pseudo elements, and then place them around your original border. No