Is it possible to create an outline border with radius?
问题 I known you can add an outline border with CSS3. outline: 10px solid red; Now I was wondering how I can add also a radius to that outline border. I have tried this one, but doesn't work: .radius { padding: 20px 60px; text-transform: capitalize; -moz-outline: 10; outline: 10px solid red; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; } 回答1: Firefox has a property -moz-outline-radius, however the request to implement a similar feature in WebKit was closed as WONTFIX