F
F
Flagname2020-05-10 14:46:33
css
Flagname, 2020-05-10 14:46:33

How to style calendar from input[type="date"]?

If at all possible, of course. Searched everything - nothing. Styles only affect the button itself until it is clicked.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
ninja op op, 2020-05-10
@Flagname

Try this:
www.daterangepicker.com

<link rel="stylesheet" href="daterangepicker/daterangepicker.css">
<script src="daterangepicker/moment.js"></script>
<script src="daterangepicker/daterangepicker.js"></script>

<input type="date" class="form-control" id="date" name="date" placeholder="Дата" required>

<script>
$(function(){
 $('#date').daterangepicker({
singleDatePicker: true,
});
});
</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question