[HTML] Buttonタグのボタンに画像を使う方法

Buttonタグのボタンに画像を使う方法

Buttonタグのボタンに画像を使う方法には以下の通り、buttonタグ内にimgを配置して、buttonタグの背景等を無効化する


CSS

.playbutton {
	width: auto;
	padding:0;
	margin:0;
	background:none;
	border:0;
	font-size:0;
	line-height:0;
 	overflow:visible;
	cursor:pointer;
}

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です