Category: Bootstrap

  • Bootstrap Vertically Centred Divs (No CSS)

    <!DOCTYPE html> <html lang=”en”> <head> <!– Required meta tags –> <meta charset=”utf-8″ /> <meta name=”viewport” content=”width=device-width, initial-scale=1″ /> <!– Bootstrap CSS –> <link href=”https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css” rel=”stylesheet” integrity=”sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3″ crossorigin=”anonymous” /> <link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css” /> <link href=”css/style.css” rel=”stylesheet” /> <title>Hello</title> </head> <body style=”background:#0f25d0″> <style> img{width: 25%;} @media (max-width: 767.98px) { img{width: 40%;} } </style> <div class=”container h-100″ style=”padding:5%…

  • CSV/PHP Read

      function loopMenuItems($dir){ //get the csv file if ($dir == ‘left’){ $file = “uploads/menuleft.csv”; $row = 1; if (($handle = fopen($file, “r”)) !== FALSE) { while (($data = fgetcsv($handle, 1000, “,”)) !== FALSE) { if($row == 1){ $row++; continue; } echo ‘ <div class=”menu-item clearfix”> <h4>’.$data[0].'</h4> <div> <p class=”pull-left”>’.$data[01].'<br /> ‘.$data[2].’ </p> <p class=”pull-right”>’.$data[3].'</p> </div>…

  • BootStrapped + Anim CSS

    skeleton_bootstrap skeleton_bootstrap 12/02/2015 BootStrap, MegaMenu + Wow 13/02/2015