Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


Auto Save

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.


                <!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <title>Prueba Bootstrap v5.0</title>
     <!-- Bootstrap y Alert -->
        <link href="libs/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
        <link href="libs/bootstrap/css/bootstrap-utilities.css" rel="stylesheet" type="text/css"/>
        <link href="libs/bootstrap/css/bootstrap-grid.css" rel="stylesheet" type="text/css"/>
        <link href="libs/font/bootstrap-icons.css" rel="stylesheet" type="text/css"/>

  <div class="sticky-top" id="stickytop">
    <div class="container-fluid d-none d-md-block">
      <a href="#"><img class="mx-auto d-block p-1" src="" height="60px"></a>

  <nav class="navbar navbar-expand-md  navbar-dark bg-dark borde-menu shadow-lg">
    <div class="container-fluid">
      <a class="navbar-brand " href="#">LOGO</a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>

      <div class="collapse navbar-collapse" id="navbarsExample04">
        <ul class="navbar-nav me-auto mb-2 mb-md-0">
          <li class="nav-item">
            <a class="nav-link active" aria-current="page" href="#">Home</a>
          <li class="nav-item">
            <a class="nav-link" href="#">Link</a>
          <li class="nav-item">
            <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="dropdown04" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
            <ul class="dropdown-menu" aria-labelledby="dropdown04">
              <li><a class="dropdown-item" href="#">Action</a></li>
              <li><a class="dropdown-item" href="#">Another action</a></li>
              <li><a class="dropdown-item" href="#">Something else here</a></li>
          <input class="form-control" type="text" placeholder="Search" aria-label="Search">
   <div style="height: 2000px;">Texto del cuerpo</div>

    <script src="../assets/dist/js/bootstrap.bundle.min.js"></script>



                #stickytop {
  background-color: white;