1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<!doctype html> <html> <head> <style> button { position:relative; left:0px; top:0px; width: 200px; height:100px; border:none; background:#00ff00; -moz-appearance: none; border-radius: 0 !important; } div { position:absolute; left:0px; top:0px; width:50px; height:50px; background:#ff0000; } </style> </head> <body> <button><div></div></button> </body> </html>