Bootstrap snippet and html example. table and inputs on popover test

Bootstrap 3.3.6 snippet "table and inputs on popover test" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: popover,table

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.6 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<div class="container">

    <div class="col-md-3">
        <input name="data[Detail][3][extras_y_recargos]" value="0" class="form-control" type="text" 
        data-container="body" data-toggle="popover" data-placement="bottom"
        data-content="<table class='table table-recargos table-bordered'>
            <tr>
                <td colspan='2'>1,25</td>
                <td colspan='2'>1,75</td> 
                <td colspan='2'>0,35</td> 
                <td colspan='2'>1,75</td> 
                <td colspan='2'>2,1</td> 
                <td colspan='2'>2,0</td> 
                <td colspan='2'>2,5</td> 
                <td colspan='2'>&nbsp;</td> 
            </tr>
            <tr>
                <td colspan='2'>H EXTRA DIURNA</td>
                <td colspan='2'>H EXTRA NOCTURNA</td> 
                <td colspan='2'>RECARGO NOCTURNO</td> 
                <td colspan='2'>HORA FESTIVA DIURNA</td> 
                <td colspan='2'>HORA FESTIVA NOCTURNA</td> 
                <td colspan='2'>HORA EXTRA FESTIVA DIURNA</td> 
                <td colspan='2'>HORA EXTRA FESTIVA NOCTURNA</td> 
                <td colspan='2'>total</td> 
            </tr>
            <tr>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td>CANT.</td>
                <td>VALOR</td>
                <td colspan='2'>&nbsp;</td> 
            </tr>
            <tr>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td><input type='text' class='form-control' /></td>
                <td colspan='2'>&nbsp;</td> 
            </tr>
            <tr>
                <td colspan='5'><button class='btn btn-info'>Cerrar</button></td>
                <td colspan='5'><button class='btn btn-info'>Guar</button></td>
                <td colspan='5'><button class='btn btn-info'>Aplicar a todos</button></td>
            </tr>
        </table>">
    </div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.6 to keep the design, spacing, and responsiveness consistent.

body{margin-top:20px;}
.popover {
  max-width: 800px;
}

.table-recargos tr td{
    font-size:10px;    
}

table .border-td td{
    border:1px solid
}

Javascript/Jquery code

Lightweight JS to power any interactions this snippet needs. Drop it under your scripts (after Bootstrap 3.3.6) to mirror the live demo.

$(function () {
  $('[data-toggle="popover"]').popover({html:true})
}) 

Similar snippets

Bootstrap example and template. list projects

list projects

Bootstrap example and template. Shop categories

Shop categories

Bootstrap example and template. User Support Tickets Profile

User Support Tickets Profile

Bootstrap example and template. product cards

product cards

Bootstrap example and template. contacts list table

contacts list table

Bootstrap example and template. bs4 beta media user list

bs4 beta media user list

Bootstrap example and template. owl carousel courses

owl carousel courses

Bootstrap example and template. Frequently Asked Questions

Frequently Asked Questions

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.3.6.

Bootstrap example and template. table and inputs on popover test

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 1.4K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working