jquery - I can't create a big box that is grey on my website with bootstrap's "well" command -
this code on codepens html sheet :
<body> <div class="well"> <h1 class="text-primary container-fluid well"> school - "htl donaustadt" </h1> </div> <img src="https://pbs.twimg.com/profile_images/2207244694/logo_cmyk_300dpi_400x400.jpg" </body> you can see inserted word "well" bootstrap 2 times , both didnt worked . first tryed out divison parent ( didn't worked ) used class in h1 ( didn't worked ) . goal center grey box can put images , text in . i'm newbie sorry bad , easy questions. , understand - "container" need understand here complete easy task ?
i hope need. in code provided there no closing brace ">" image. problem might have faced because might not have included source file bootstrap.
<!doctype html> <html lang="en"> <head> <title>bootstrap example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="well"> <h1 class="text-primary container-fluid well"> school - "htl donaustadt" </h1> </div> <img src="https://pbs.twimg.com/profile_images/2207244694/logo_cmyk_300dpi_400x400.jpg"> </body> </html>
Comments
Post a Comment