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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div id="userDirectorySearchTable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer">
  <table id="userDirectorySearchTable" class="table table-striped table-bordered table-hover table-sm dataTable no-footer" style="cursor: pointer; width: 100%;" cellspacing="0" width="100%" role="grid" aria-describedby="userDirectorySearchTable_info">
    <thead>
      <tr role="row">
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Queue: activate to sort column ascending" style="width: 93px;">Queue</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Real Name: activate to sort column ascending" style="width: 229px;">Real Name</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Alias Name: activate to sort column ascending" style="width: 164px;">Alias Name</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 235px;">Title</th>
        <th class="sorting_asc" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Office: activate to sort column descending" aria-sort="ascending" style="width: 81px;">Office</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Phone/Ext: activate to sort column ascending" style="width: 212px;">Phone/Ext</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Status: activate to sort column ascending" style="width: 93px;">Status</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Hire Date: activate to sort column ascending" style="width: 126px;">Hire Date</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="Term Date: activate to sort column ascending" style="width: 137px;">Term Date</th>
        <th class="sorting" tabindex="0" aria-controls="userDirectorySearchTable" rowspan="1" colspan="1" aria-label="E-Mail: activate to sort column ascending" style="width: 241px;">E-Mail</th>
      </tr>
    </thead>
    <tbody>
      <tr role="row" class="odd">
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="even">
        <td>2073</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X117</td>
        <td></td>
        <td>08/17/2015</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="odd">
        <td>2079</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X129</td>
        <td>Logged In</td>
        <td>11/02/2015</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="even">
        <td>2096</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="odd">
        <td>2104</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X116</td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="even">
        <td>2116</td>
        <td></td>
        <td></td>
        <td>Transfer Agent</td>
        <td class="sorting_1"></td>
        <td>-9080 X115</td>
        <td>Logged In</td>
        <td>01/03/2019</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="odd">
        <td>2124</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X123</td>
        <td>Logged In</td>
        <td>06/10/2019</td>
        <td></td>
        <td>really long content that causes overflow really long content that causes overflow really long content that causes overflow really long content that causes overflow really long content that causes overflow</td>
      </tr>
      <tr role="row" class="even">
        <td>2128</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X121</td>
        <td></td>
        <td>06/14/2019</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="odd">
        <td>2130</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X119</td>
        <td></td>
        <td>07/02/2019</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="even">
        <td>2132</td>
        <td></td>
        <td></td>
        <td></td>
        <td class="sorting_1"></td>
        <td>-9080 X115</td>
        <td>Logged In</td>
        <td>07/16/2019</td>
        <td></td>
        <td></td>
      </tr>
      <tr role="row" class="odd">
        <td>2135</td>
        <td></td>
        <td></td>
        <td>Information Technology</td>
        <td class="sorting_1"></td>
        <td>-9080</td>
        <td></td>
        <td>11/15/2019</td>
        <td></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <div class="dataTables_info" id="userDirectorySearchTable_info" role="status" aria-live="polite">Showing 1 to 11 of 11 entries</div>
  <div class="dataTables_paginate paging_full_numbers" id="userDirectorySearchTable_paginate">
    <ul class="pagination">
      <li class="paginate_button page-item first disabled" id="userDirectorySearchTable_first"><a href="#" aria-controls="userDirectorySearchTable" data-dt-idx="0" tabindex="0" class="page-link">First</a></li>
      <li class="paginate_button page-item previous disabled" id="userDirectorySearchTable_previous"><a href="#" aria-controls="userDirectorySearchTable" data-dt-idx="1" tabindex="0" class="page-link">Previous</a></li>
      <li class="paginate_button page-item active"><a href="#" aria-controls="userDirectorySearchTable" data-dt-idx="2" tabindex="0" class="page-link">1</a></li>
      <li class="paginate_button page-item next disabled" id="userDirectorySearchTable_next"><a href="#" aria-controls="userDirectorySearchTable" data-dt-idx="3" tabindex="0" class="page-link">Next</a></li>
      <li class="paginate_button page-item last disabled" id="userDirectorySearchTable_last"><a href="#" aria-controls="userDirectorySearchTable" data-dt-idx="4" tabindex="0" class="page-link">Last</a></li>
    </ul>
  </div>
</div>
            
          
!

CSS

            
              
/* Table Style Start */
.dataTables_info{
    padding: 5px;
    color:#D5DDE5;
}
.dataTables_paginate{
  margin-top:-6px;
  padding: 5px;
  text-decoration: none;
  background: #1b1e24;
}

div.dataTables_wrapper div.dataTables_paginate{
  margin-top:-6px;
}

/* -----------NEED HELP HERE-----------       Cant get overflow-x: hidden to work */
.dataTables_wrapper{
  overflow-x: hidden; /*This wont work, acts like overflow hidden*/
/*   overflow-x: scroll; /*This works and is the desired effect but i dont want the scrollbar to show if no overflow*/  */
  background: #1B1E24;
}

.dataTables_paginate a{
    text-decoration: none;
    color:#D5DDE5;
}

  table {
    border-radius:3px;
    border-collapse: collapse;
    margin: auto;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    animation: float 5s infinite;
  }

  tbody{
    width:100%;
  }
   
  th {
    color:#D5DDE5;;
    background:#1b1e24;
    border-bottom:4px solid #9ea7af;
    border-right: 1px solid #343a45;
    font-size:20px;
    font-weight: 100;
    padding:10px;
    text-align:left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    vertical-align:middle;
  }
  
  th:first-child {
    border-top-left-radius:3px;
  }
   
  th:last-child {
    border-top-right-radius:3px;
    border-right:none;
  }
    
  tr {
    border-top: 1px solid #C1C3D1;
    border-bottom-: 1px solid #C1C3D1;
    color:#666B85;
    font-size:16px;
    font-weight:normal;
    text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
    white-space: nowrap;
    /* height:52px */
  }
   
  tr:hover td {
    background:#4E5066;
    color:#FFFFFF;
    /* border-top: 1px solid #22262e; */
  }
   
  tr:first-child {
    border-top:none;
  }
  
  tr:last-child {
    border-bottom:none;
  }
   
  tr:nth-child(odd) td {
    background:#EBEBEB;
  }
   
  tr:nth-child(odd):hover td {
    background:#4E5066;
  }
  
  tr:last-child td:first-child {
    border-bottom-left-radius:3px;
  }
   
  tr:last-child td:last-child {
    border-bottom-right-radius:3px;
  }
   
  td {
    background:#FFFFFF;
    padding:5px;
    text-align:left;
    vertical-align:middle;
    font-weight:300;
    font-size:18px;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #C1C3D1;
  }
  
  td:last-child {
    border-right: 0px;
  }
  
  th.text-left {
    text-align: left;
  }
  
  th.text-center {
    text-align: center;
  }
  
  th.text-right {
    text-align: right;
  }
  
  td.text-left {
    text-align: left;
  }
  
  td.text-center {
    text-align: center;
  }
  
  td.text-right {
    text-align: right;
  }

  
/* Pagenate buttons  */
.paginate_button 
{
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    *cursor: hand;
    color: #333333 !important;
    border: 1px solid transparent;
    border-radius: 2px; 
    background: #1b1e24;
}

.paginate_button.current, .paginate_button.current:hover {
    color: #333333 !important;
    border: 1px solid #979797;
}

/* previous/next buttons hover default and active*/
.paginate_button.previous, .paginate_button.previous:active, .paginate_button.next, .paginate_button.next:active {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent;
    background: #333333;
    box-shadow: none; 
}

/* previous/next buttons hover */
 .paginate_button.previous:hover,  .paginate_button.next:hover{
    background:#2d3036;
}

/* first/last buttons hover default and active*/
 .paginate_button.first,  .paginate_button.first:active, .paginate_button.last,  .paginate_button.last:active {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent;
    background: #333333;
    box-shadow: none; 
}

/* first/last buttons hover */
 .paginate_button.first:hover,  .paginate_button.last:hover{
    background:#2d3036;
}

/* page buttons hover */
 .paginate_button:hover {
    color: white !important;
    border: 1px solid #111111;
    background:#2d3036;
}

/* page buttons active */
 .paginate_button.active {
    outline: none;
    border: 1px solid #EBEBEB;
    box-shadow: inset 0 0 3px #111; 
}

/* ellipsis button */
#userDirectorySearchTable_ellipsis {
    outline: none;
    background-color: transparent;
    padding-bottom: 0;
    border: 0;
    text-decoration: none;
}
/* ellipsis button */
#userDirectorySearchTable_ellipsis a{
    outline: none;
    background-color: transparent;
    padding-bottom: 0;
    border: 0;
    text-decoration: none;
    font-weight: 900;
}

 .ellipsis {
    padding: 0 1em; 
    /* background: transparent;
    display: none; */
}
   
@media screen and (max-width: 767px) {
  .dataTables_wrapper .dataTables_info,
  .dataTables_paginate {
    float: none;
    text-align: center; }
  .dataTables_paginate {
    margin-top: 0.5em; } }
@media screen and (max-width: 640px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: center; }
  .dataTables_wrapper .dataTables_filter {
    margin-top: 0.5em; } }
  
            
          
!

JS

            
              
            
          
!
999px

Console