Day 2 | Demo Profile Cart

Sử dụng HTML , CSS thiết kế một Profile Cart siêu ngầu cho bản thân 

học lập trình frontend, fullstack hà nội, 48
				
					
  <body>
    <div class="card">
      <div class="card__img">
        <img decoding="async" src="aNam.jpg" alt="học lập trình frontend, fullstack hà nội, aNam" title="# Day 2 | Thực chiến hơn 30 projects HTML, CSS, Javascript 2 học lập trình frontend, fullstack hà nội">
      </div>
      <h2><span class="ez-toc-section" id="Dinh_Nam"></span>Dinh Nam<span class="ez-toc-section-end"></span></h2>
      <p>Fullstack Developer</p>
      <div class="card__social">
        <a target="_black" href="https://www.facebook.com/nam.nodemy" rel="noopener">
          <i class="fab fa-facebook-f"></i>
        </a>
        <a target="_black" href="https://www.youtube.com/c/Nodemy" rel="noopener">
          <i class="fab fa-youtube"></i>
        </a>
        <a target="_black" href="https://www.tiktok.com/@manindev" rel="noopener">
          <i class="fab fa-tiktok"></i>
        </a>
        <a target="_black" href="https://github.com/namndwebdev/html-css-js-thuc-chien" rel="noopener">
          <i class="fab fa-github"></i>
        </a>
      </div>
      <button>Contact me</button>
    </div>
    <div class="card">
      <div class="card__img">
        <img decoding="async" src="aThai.jpg" alt="học lập trình frontend, fullstack hà nội, aThai" title="# Day 2 | Thực chiến hơn 30 projects HTML, CSS, Javascript 3 học lập trình frontend, fullstack hà nội">
      </div>
      <h2><span class="ez-toc-section" id="Minh_Thai"></span>Minh Thai<span class="ez-toc-section-end"></span></h2>
      <p>Fullstack Developer</p>
      <div class="card__social">
        <a target="_black" href="https://www.facebook.com/minhthai.hoang.3" rel="noopener">
          <i class="fab fa-facebook-f"></i>
        </a>
        <a target="_black" href="https://www.youtube.com/c/Nodemy" rel="noopener">
          <i class="fab fa-youtube"></i>
        </a>
        <a target="_black" href="https://www.tiktok.com/@manindev" rel="noopener">
          <i class="fab fa-tiktok"></i>
        </a>
        <a target="_black" href="https://github.com/namndwebdev/html-css-js-thuc-chien" rel="noopener">
          <i class="fab fa-github"></i>
        </a>
      </div>
      <button>Contact me</button>
    </div>
    <div class="card">
      <div class="card__img">
        <img decoding="async" src="Cuong.jpg" alt="học lập trình frontend, fullstack hà nội, Cuong" title="# Day 2 | Thực chiến hơn 30 projects HTML, CSS, Javascript 4 học lập trình frontend, fullstack hà nội">
      </div>
      <h2><span class="ez-toc-section" id="Cuong_Nv"></span>Cuong Nv<span class="ez-toc-section-end"></span></h2>
      <p>Fullstack Developer</p>
      <div class="card__social">
        <a target="_black" href="https://www.facebook.com/CuongNv.2002/" rel="noopener">
          <i class="fab fa-facebook-f"></i>
        </a>
        <a target="_black" href="https://www.youtube.com/c/Nodemy" rel="noopener">
          <i class="fab fa-youtube"></i>
        </a>
        <a target="_black" href="https://www.tiktok.com/@manindev" rel="noopener">
          <i class="fab fa-tiktok"></i>
        </a>
        <a target="_black" href="https://github.com/namndwebdev/html-css-js-thuc-chien" rel="noopener">
          <i class="fab fa-github"></i>
        </a>
      </div>
      <button>Contact me</button>
    </div>
  </body>


				
			
				
					@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

:root {
  --pink-color: #f2726a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(45deg, #00853e, #50c878);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 300px;
  height: 400px;
  border-radius: 10px;
  text-align: center;
  background-color: #242628;
  overflow: hidden;
  margin: 0 30px;
}

.card__img {
  width: 120px;
  height: 120px;
  overflow: hidden;
  transition: 0.25s;
  margin: 0 auto;
  transform: translateY(25px);
  border-radius: 50%;
  border: 4px solid var(--pink-color);
  cursor: pointer;
}

.card__img:hover {
  width: 100%;
  height: 100%;
  border-radius: unset;
  border: unset;
  transform: unset;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h2 {
  color: white;
  margin-top: 40px;
}

p {
  color: var(--pink-color);
}

.card__social a {
  text-decoration: none;
  color: white;
  margin: 25px 20px 40px;
  display: inline-block;
  font-size: 18px;
  transition: 0.25s;
}

.card__social a:hover {
  color: var(--pink-color);
}

button {
  outline: none;
  border: none;
  color: white;
  background-color: transparent;
  border: 1px solid var(--pink-color);
  padding: 10px 20px;
  border-radius: inherit;
  cursor: pointer;
  transition: 0.25s;
}

button:hover {
  background-color: var(--pink-color);
}

				
			
LỘ TRÌNH LÊN FULLSTACK, trọn bộ serial course Pro HTML,CSS,JAVASCRIPT MIỄN PHÍ :

HTML : HTML căn bản cho người mới bắt đầu

CSS : CSS căn bản cho người mới bắt đầu

JS: Javascript cho người mới bắt đầu 

 
 
 

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *