Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="wrapper">
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.</p> <p>Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.</p>
  <br />
  <div class="container">
    <div class="row">
        <div class='col-sm-12'>
            <div class="form-group">
                <div id='datetimepicker'></div>
            </div>
        </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                * {
  box-sizing: border-box;
}
.container {
  max-width: 100%;
}
.wrapper {
  background: #f5f5f5;
  width: 400px;
  height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px;
  margin: 0 auto;
}

.bootstrap-datetimepicker-widget {
	width: 100% !important;
	max-width: none !important;
} 


/* Ab hier für dich interessant :) */

.bootstrap-datetimepicker-widget table thead tr:first-child th:hover, .bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover, .bootstrap-datetimepicker-widget table td span:hover {
  /* Hintergrundfarbe für die angehoverte Auswahl */
  background: #f5f5f5;
}
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover, 
.bootstrap-datetimepicker-widget table td span.active { 
  /* Hintergrundfarbe für die aktive Auswahl */
	background-color: #ff007d;
	color: #ffffff;
}
.bootstrap-datetimepicker-widget table td.today:before { 
  /* Dreieckfarbe für den aktuellen Tag */
	border-bottom-color: #ff007d;
}
.bootstrap-datetimepicker-widget table td.active.today:before {
  /* Dreieckfarbe, wenn aktueller Tag und Auswahl gleicher Tag ist */
  border-bottom-color: #fff;
}
.bootstrap-datetimepicker-widget a {
  /* Für das Kalender-Icon, das Uhrzeit-Icon und die Pfeile in der Uhrzeitauswahl*/
  color: #ff007d;
}
.timepicker-picker .btn-primary {
  /* Für den Button AM / PM*/
  color: #fff;
  background-color: #ff007d;
  border-color: #ff007d;
}
              
            
!

JS

              
                
$(function () {
  $('#datetimepicker').datetimepicker({
    inline: true,
    sideBySide: true,
	  locale: 'de',
		format: 'DD.MM.YYYY'
  });
});
              
            
!
999px

Console