There is a very convenient calendar plugin . One of the few shortcomings of this plugin is that, apparently, it does not provide for the possibility of changing the number of months displayed depending on the width of the screen (at least I don’t see it). Link to the calendar in codecode.
Any ideas?
addEventListener('DOMContentLoaded', function () { pickmeup('.three-calendars', { flat: true, mode: 'range', calendars: 3 }); }); <link type="text/css" rel="stylesheet" href="http://cyprus.890m.com/Cyprus/css/pickmeup.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="http://cyprus.890m.com/Cyprus/js/pickmeup.js"></script> <div class="three-calendars"></div>