Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>B.S.A Onligne</title>
  <link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet">

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
  <link rel="stylesheet" href="css/style.css">
  <link rel="stylesheet" href="css/team.css">
</head>

<body>
  <header class="header">
    <a href="#" class="Logo" style="font-size: 2.5em" ;>B.S.A company</a>
    <nav class="navbar">
      <a href="#home" class="active">Home</a>
      <a href="#about">About</a>
      <a href="#services">Tarifs</a>
      <a href="#team">Team</a>
      <a href="#contact">Contact</a>
    </nav>
  </header>

  <section class="Home" id="home">
    <h2 class="all-heading">SIMPLE <span>RAPIDE</span></h2>
    <div class="container">

      <div class="box" style="--clr:#89ec5b;">
        <div class="content">
          <div class="icon">
            <ion-icon name="receipt-outline"></ion-icon>
          </div>
          <div class="text">
            <h3>Billing</h3>
            <p>Tous les documents en un seul endroit, avec une disponibilité illimitée.</p>
            <p>Simple & Rapide !</p>
            <a href="#popup1">Read More 1</a>
          </div>
        </div>
      </div>
      <div class="box" style="--clr:#eb5ae5;">
        <div class="content">
          <div class="icon">
            <ion-icon name="sync-outline"></ion-icon>
          </div>
          <div class="text">
            <h3>System</h3>
            <p>Tout le monde peut utiliser cette application en ligne.</p>
            <p>Les fonctions les plus utilisées sont intégrées</p>
            <a href="#popup2">Read More 2</a>
          </div>
        </div>
      </div>
      <div class="box" style="--clr:#5b98eb;">
        <div class="content">
          <div class="icon">
            <ion-icon name="rocket-outline"></ion-icon>
          </div>
          <div class="text">
            <h3>Application</h3>
            <p>100% en ligne - Aucune installation requise.</p>
            <p>Disponible sur toutes les plateformes.</p>
            <a href="#popup3">Read More 3</a>
          </div>
        </div>
      </div>
    </div>
  </section>

  <section class="About" id="about">
    <h2 class="all-heading">Pour les <span>indépendants et PME</span></h2>
    <div class="box">
      <div class="content">
        <h3 style="text-align: center; font-size: 3.5em;">About US</h3><br>
        <img src="https://picsum.photos/id/237/400/300" style="display: block; margin: auto; margin-left: auto; border-radius: 15px; 
                margin-bottom: 15px; width: 35%; height: auto;">
        <div class="text"><br>
          <p style="font-size: 1.7em; text-align: center;">B.S.A est un logiciel de facturation en ligne
            idéal pour créer et envoyer des factures détaillées au moment adéquat.</p><br>
          <p style="font-size: 1.7em; text-align: center;">- Le partage de documents créés en quelques
            secondes.</p><br>
          <p style="font-size: 1.7em; text-align: center;">- Utilisez le sur vos téléphones mobiles.</p><br>
          <p style="font-size: 1.7em; text-align: center;">- Il peut être utilisé à travers le monde.</p>
        </div>
      </div>
    </div>

  </section>

  <section class="Services" id="services">
    <h2 class="all-heading">Tarifs <span>Section</span></h2>

    <div class="pricing-table">
      <div class="price">
        <h2>Free</h2>
        <p class="amount">$<span>0</span></p>
        <p class="amount-info">Free for your whole team</p>
        <p class="description">For individuals or teams looking to organize anything.</p>
        <button class="get-started">Get started</button>
      </div>
      <div class="price">
        <h2>Standard</h2>
        <p class="amount">$<span>6</span></p>
        <p class="amount-info">Per user per month</p>
        <p class="description">For teams that need to manage nore work.</p>
        <button class="upgrade-now">Upgrade now</button>
      </div>
      <div class="price">
        <h2>Premium</h2>
        <p class="amount">$<span>12</span></p>
        <p class="amount-info">Per user per month</p>
        <p class="description">Best for teams that need to track multiple projects.</p>
        <button class="try-for-free">Try for free</button>
      </div>
      <div class="purple color"></div>
      <div class="blue color"></div>
      <div class="orange color"></div>
    </div>
  </section>

  <section class="Team" id="team">
    <h2 class="all-heading">Our <span>Team</span></h2>
    <!-- <div class="center">
      <h1>Our Team</h1>
    </div> -->

    <div class="team-content">
      <div class="box">
        <img src="https://picsum.photos/id/237/100/150">
        <h3>Steph Karl</h3>
        <h5>SEO Manager</h5>
        <div class="icons">
          <a href="#"><i class="ri-twitter-fill"></i></a>
          <a href="#"><i class="ri-facebook-box-fill"></i></a>
          <a href="#"><i class="ri-instagram-fill"></i></a>
        </div>
      </div>

      <div class="box">
        <img src="https://picsum.photos/id/237/100/150">
        <h3>Paul Mura</h3>
        <h5>Developer</h5>
        <div class="icons">
          <a href="#"><i class="ri-twitter-fill"></i></a>
          <a href="#"><i class="ri-facebook-box-fill"></i></a>
          <a href="#"><i class="ri-instagram-fill"></i></a>
        </div>
      </div>

      <div class="box">
        <img src="https://picsum.photos/id/237/100/150">
        <h3>Nora Pits</h3>
        <h5>Web designer</h5>
        <div class="icons">
          <a href="#"><i class="ri-twitter-fill"></i></a>
          <a href="#"><i class="ri-facebook-box-fill"></i></a>
          <a href="#"><i class="ri-instagram-fill"></i></a>
        </div>
      </div>

      <div class="box">
        <img src="https://picsum.photos/id/237/100/150">
        <h3>Samia Hida</h3>
        <h5>IT consultant</h5>
        <div class="icons">
          <a href="#"><i class="ri-twitter-fill"></i></a>
          <a href="#"><i class="ri-facebook-box-fill"></i></a>
          <a href="#"><i class="ri-instagram-fill"></i></a>
        </div>
      </div>

    </div>
  </section>
  <section class="Contact" id="contact">
    <h2 class="all-heading">Contact <span>Us</span></h2>

  </section>

  <footer>
    <div class="footerContainer">
      <div class="socialIcons">
        <a href=""><i class="fa-brands fa-facebook"></i></a>
        <a href=""><i class="fa-brands fa-instagram"></i></a>
        <a href=""><i class="fa-brands fa-twitter"></i></a>
        <a href=""><i class="fa-brands fa-google-plus"></i></a>
        <a href=""><i class="fa-brands fa-youtube"></i></a>
      </div>
      <div class="footerNav">
        <ul>
          <li><a href="">Home</a></li>
          <li><a href="">News</a></li>
          <li><a href="">About</a></li>
          <li><a href="">Contact Us</a></li>
          <li><a href="">our Team</a></li>
        </ul>
      </div>

    </div>
    <div class="footerBottom">
      <p>Copyright &copy;2023; Designed by <span class="designer">Noman</span></p>
    </div>
  </footer>

  <script src="js/index.js"></script>
  <script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
  <script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
</body>

</html>
              
            
!

CSS

              
                html,
body {
  scroll-behavior: smooth;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Space Grotesk", sans-serif;
  font-size: 62.5%;
  background: #000;
  color: #fff;
}
a {
  text-decoration: none;
  color: #fff;
}

.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 2rem 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
}

.Logo {
  font-size: 2.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-left: 4rem;
  font-size: 1.7rem;
  transition: 0.2s;
}

.navbar a:hover,
.navbar a:active,
.navbar a.active {
  color: #ef6e12;
}

section {
  min-height: 100vh;
  padding: 2em 9% 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  scroll-margin-top: 5rem;
}

.all-heading {
  display: flex;
  font-size: 60px;
  color: #ef6e12;
}

.About,
.Team {
  background: #111;
}

/*card*/
.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 60px 0;
  gap: 60px;
}

.container .box {
  position: relative;
  width: 300px;
  height: 350px;
  background: #2e2e2e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .box::before {
  content: "";
  position: absolute;
  inset: -10px 50px;
  border-top: 4px solid var(--clr);
  border-bottom: 4px solid var(--clr);
  z-index: -1;
  transform: skewY(15deg);
  transition: 0.5s ease-in-out;
}

.container .box:hover::before {
  transform: skewY(0deg);
  inset: -10px 40px;
}

.container .box::after {
  content: "";
  position: absolute;
  inset: 60px -10px;
  border-left: 4px solid var(--clr);
  border-right: 4px solid var(--clr);
  z-index: -1;
  transform: skew(15deg);
  transition: 0.5s ease-in-out;
}

.container .box:hover::after {
  transform: skew(0deg);
  inset: 40px -10px;
}

.container .box .content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.container .box .content .icon {
  color: var(--clr);
  width: 80px;
  height: 80px;
  box-shadow: 0 0 0 4px #2e2e2e, 0 0 0 6px var(--clr);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5em;
  background: #2e2e2e;
  transition: 0.5s ease-in-out;
}

.container .box:hover .content .icon {
  background: var(--clr);
  color: #2e2e2e;
  box-shadow: 0 0 0 4px #2e2e2e, 0 0 0 300px var(--clr);
}

.container .box .content .text h3 {
  font-size: 2.5em;
  color: #fff;
  font-weight: 500;
  transition: 0.5s ease-in-out;
}

.container .box:hover .content .text h3 {
  color: #2e2e2e;
}

.container .box .content .text p {
  font-size: 1.5em;
  color: #999;
  transition: 0.5s ease-in-out;
}

.container .box:hover .content .text p {
  color: #2e2e2e;
}

.container .box .content .text a {
  position: relative;
  font-size: 1.6em;
  background: var(--clr);
  color: #2e2e2e;
  padding: 8px 15px;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: 0.5s ease-in-out;
}

.container .box:hover .content .text a {
  background: #2e2e2e;
  color: var(--clr);
}

/* team css */

.team {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "Space Grotesk", sans-serif;
}

.team-content {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, auto));
  align-items: center;
  gap: 2rem;
  text-align: center;
  margin-top: 0rem;
}

.team-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
}

.center h1 {
  position: relative;
  /*margin-top: -12rem;*/
  color: #fff;
  font-size: 4rem;
  text-align: center;
}

.box {
  padding: 16px;
  border-radius: 15px;
  transition: all 0.38s ease;
}

.box h3 {
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.box h5 {
  font-size: 15px;
  font-weight: 600;
  color: #b7b4bb;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.icons i {
  display: inline-block;
  color: #fff;
  font-size: 20px;
  margin: 0 8px;
  transition: all 0.38s ease;
}

.icons i:hover {
  transform: scale(1.2);
}

.box:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

@media (max-width: 1240px) {
  .team {
    width: 100%;
    height: auto;
    padding: 90px 2%;
  }

  .center h1 {
    font-size: 3.2rem;
  }
}

/* footer css below */

footer {
  background-color: #111;
}
.footerContainer {
  width: 100%;
  padding: 70px 30px 20px;
}
.socialIcons {
  display: flex;
  justify-content: center;
}
.socialIcons a {
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}
.socialIcons a i {
  font-size: 2em;
  color: black;
  opacity: 0.9;
}
/* Hover affect on social media icon */
.socialIcons a:hover {
  background-color: #111;
  transition: 0.5s;
}
.socialIcons a:hover i {
  color: white;
  transition: 0.5s;
}
.footerNav {
  margin: 30px 0;
}
.footerNav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.footerNav ul li a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}
.footerNav ul li a:hover {
  opacity: 1;
}
.footerBottom {
  background-color: #000;
  padding: 20px;
  text-align: center;
}
.footerBottom p {
  color: white;
}
.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}
@media (max-width: 700px) {
  .footerNav ul {
    flex-direction: column;
  }
  .footerNav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }
  .socialIcons a {
    padding: 8px;
    margin: 4px;
  }
}

/* Price css */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.pricing-table {
  position: relative;
  margin: auto;
  width: 90%;
  max-width: 800px;
  display: flex;
  gap: 2rem;
  padding: 3rem;
  border-radius: 1.5rem;
  border: 10px solid #fff;
  background: #ffffff5b;
}

.color {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(5rem);
}

.purple {
  background: #edbbff;
  left: 0;
  top: 80%;
  box-shadow: 0 0 10rem #edbbff;
}

.blue {
  background: #aef1f5;
  top: -5rem;
  left: 30%;
  box-shadow: 0 0 10rem #aef1f5;
}

.orange {
  background: #ffddb7;
  top: 20%;
  right: 0;
  box-shadow: 0 0 10rem #ffddb7;
}

.get-started {
  background: #edbbff;
}

.get-started:hover {
  box-shadow: 0 0 1rem #e59fff;
}

.upgrade-now {
  background: #aef1f5;
}

.upgrade-now:hover {
  box-shadow: 0 0 1rem rgb(138, 249, 255);
}

.try-for-free {
  background: #ffddb7;
}

.try-for-free:hover {
  box-shadow: 0 0 1rem #ffc88a;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.amount {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.amount span {
  font-size: 2.2rem;
}

.amount-info {
  font-size: 0.7rem;
}

.description {
  margin: 1rem 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

button {
  border: none;
  cursor: pointer;
  transition: 0.5s;
  width: max-content;
  border-radius: 0.5rem;
  padding: 0.8rem;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .pricing-table {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
  }
}

              
            
!

JS

              
                let section = document.querySelectorAll("section");
let navLink = document.querySelectorAll("header nav a");
window.onscroll = () => {
  section.forEach((sec) => {
    let top = window.scrollY;
    let offset = sec.offsetTop - 150;
    let height = sec.offsetHeight;
    let id = sec.getAttribute("id");
    if (top > offset && top < offset + height) {
      navLink.forEach((links) => {
        links.classList.remove("active");
        document
          .querySelector("header nav a[href*=" + id + "]")
          .classList.add("active");
      });
    }
  });
};

              
            
!
999px

Console