Created
July 21, 2018 13:59
-
-
Save sola-msr/e9b993ecebf97a3d4074d9f04e659a8e to your computer and use it in GitHub Desktop.
【HTML/CSS】日付の入力欄<input type="date">の▼部分(カレンダー表示ボタン)のクリック範囲を大きくする ref: https://qiita.com/sola-msr/items/8d0e6cf2bcaa4654088a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>test</title> | |
<style> | |
input[type=date]::-webkit-calendar-picker-indicator { | |
/* 好きなだけpx調整 */ | |
padding: 20px; | |
} | |
</style> | |
</head> | |
<body> | |
<input type="date"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment