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

              
                <div class="container">
  <header class="cabecalho">
    <div class="perfil">
      <img class="perfil-foto" src="https://github.com/cajjunior.png" />
      <div class="titulo">
        <h1>Carlos A. Julio Jr.</h1>
        <h3>Cursando o CS50x, estudando JS, HTML, CSS, Python, C#, mySQL, NodeJs</h3>
        <h4>Portfólio dos projetos realizados na #imersãodev, meus primeiros passos com JavaScript, HTML e CSS</h4>

        <div>
          <a href="https://github.com/cajjunior" target="_blank"><img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white" target="_blank"></a>
          <a href="https://www.linkedin.com/in/carlosalbertojuliojunior" target="_blank"><img src="https://img.shields.io/badge/-LinkedIn-%230077B5?style=for-the-badge&logo=linkedin&logoColor=white" target="_blank"></a>
          <a href="mailto:junior@carlosjulio.com.br" target="_blank"><img src="https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white" target="_blank"></a>
          <a href="https://codepen.io/cajjunior" target="_blank"><img src="https://img.shields.io/badge/Codepen-000000?style=for-the-badge&logo=codepen&logoColor=white" target="_blank"></a>
        </div>

      </div>
      <div class="tema">
        <button onClick="mudaTema()">Alterar tema</button><br><br>
        <img align="right" alt="hire-me" height="120" src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/7f971445327595.582cc88e8c36d.gif">

      </div>
  </header>
  <main class="portfolio">
    <div class="projetos">
      <ul>Projetos</ul>
      <li>
        <h3>🥋 Super Trunfo</h3>
        <p>Jogo Super trunfo com tema Street Fighter. São 15 personagens e 3 atributos para cada. Sortei uma carta, slecione um atributo e clique em jogar. Divirta-se!</p>
        <a href="https://codepen.io/cajjunior/full/mdwjyvy" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>
        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="mdwjyvy" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/mdwjyvy">
              Super Trunfo</a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>
      <li>
        <h3>🔮 Mentalista</h3>
        <p> Adivinhe o número que o Mister M está pensando de 0 a 10 em 3 chances.</p>

        <a href="https://codepen.io/cajjunior/full/ExXbvQg" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>
        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="ExXbvQg" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/ExXbvQg">
              Mentalista </a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>
      <li>
        <h3>🏆 Tabela de Classificação</h3>
        <p> Tabela para calcular a pontuação de times ou jogadores no estilo clássico de 3 pontos para vitória e 1 ponto para empate. Adicione e remova seus jogogadores e zere o placar para recomeçar.</p>

        <a href="https://codepen.io/cajjunior/full/qBjYVNP" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>

        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="qBjYVNP" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/qBjYVNP">
              Tabela de classificação</a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>
      <li>
        <h3>🍺 Beerflix</h3>
        <p> Exibe uma lista de cervejas favoritas e permite que usuários adicionem as suas também. Saúde!</p>

        <a href="https://codepen.io/cajjunior/full/oNwEBdR" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>

        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="oNwEBdR" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/oNwEBdR">
              Beerflix </a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>
      <li>
        <h3>🪙 Conversor de moedas</h3>
        <p> Conversor de Reais para Dolar e Bitcoin.</p>
        <a href="https://codepen.io/cajjunior/full/gORoJOj" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>

        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="gORoJOj" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/gORoJOj">
              Conversor de moedas (Reais para Dolar e Bitcoin)</a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>
      <li>
        <h3>🎓 Calculadora de média escolar</h3>
        <p> Calculadora de aprovação escolar considerando notas bimestrais e média 7.0 para aprovação.</p>
        <a href="https://codepen.io/cajjunior/full/zYzEKgP" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>

        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="zYzEKgP" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/zYzEKgP">
              Calculadora de média escolar</a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>

      <li>
        <h3>🖥 Certificard</h3>
        <p> Contrução da página de portfólio dos projetos desenvolvidos durante a imersãoDev.</p>
        <a href="https://codepen.io/cajjunior/full/jOwvWNN" target="_blank" style="text-decoration:none">🔘 Clique aqui para visualizar com a tela cheia!</a><br><br>

        <p class="codepen" data-height="400" data-default-tab="result" data-slug-hash="jOwvWNN" data-user="cajjunior" style="height: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
          <span>See the Pen <a href="https://codepen.io/cajjunior/pen/jOwvWNN">
              Portfólio - Certificard</a> by Carlos (<a href="https://codepen.io/cajjunior">@cajjunior</a>)
            on <a href="https://codepen.io">CodePen</a>.</span>
        </p>
        <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
      </li>

    </div>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@200&display=swap");

body {
  background: linear-gradient(236.85deg, #737373 27.26%, #333439 96.03%);
  font-family: "Gemunu Libre", sans-serif;
}

a {
  font-size: 18px;
  color: #000000;
}

.dark a {
  font-size: 18px;
  color: #ffffff;
}
.container {
  margin: 64px;
  background: #333439;
  color: #f2f2f2;
  border-radius: 20px;
  padding: 64px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.cabecalho {
  display: flex;
  justify-content: space-between;
}

.perfil {
  display: flex;
}

.perfil-foto {
  max-width: 200px;
  border-radius: 460px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.titulo {
  margin-left: 16px;
}

.titulo h1 {
  font-weight: 700;
  font-size: 36px;
}

.titulo h3 {
  font-weight: normal;
  font-size: 24px;
}

.contatos {
  max-width: 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.tema button {
  align-self: flex-end;
  font-size: 16px;
  padding: 8px 16px;
  background: #333439;
  box-sizing: border-box;
  border-radius: 100px;
  border: 2px solid #ffffff;
  color: #f2f2f2;
}

.portfolio {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.projetos {
  width: 65vw;
  max-height: flex-end;
  overflow-y: scroll;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  padding: 8px 32px;
  background: linear-gradient(230.65deg, #ffffff 27.49%, #f2f2f2 83.19%);
  color: #000000;
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.projetos ul {
  list-style: none;
  padding-left: 0;
  font-weight: 700;
  font-size: 26px;
  line-height: 0.3em;
}

.projetos li {
  list-style-type: none;
  font-size: 20px;
  line-height: 1em;
}

.dark {
  background: linear-gradient(236.85deg, #737373 27.26%, #f2f2f2 96.03%);
}

.dark .container {
  background: #f2f2f2;
  color: #000000;
}

.dark .portfolio {
  color: #333439;
}

.dark .projetos {
  background: #333439;
  color: #ffffff;
}
.dark .tema button {
  color: #333439;
  background: #f2f2f2;
  box-sizing: border-box;
  border-radius: 100px;
  border: 2px solid #333439;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: #1c1c1c;
  border: 1.8px solid #1c1c1c;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ecf4ff;
}

::-webkit-scrollbar-track {
  background: #ecf4ff;
  border-radius: 100px;
  box-shadow: inset 0px 0px 0px 0px #f0f0f0;
  margin: 15px 0px;
}

img {
  border-radius: 100px;
}

              
            
!

JS

              
                function mudaTema() {
  document.body.classList.toggle("dark");
}

              
            
!
999px

Console