Giter Club home page Giter Club logo

bd-gift-site's Introduction

bd-gift-site

About Scrimba

At Scrimba our goal is to create the best possible coding school at the cost of a gym membership! ๐Ÿ’œ If we succeed with this, it will give anyone who wants to become a software developer a realistic shot at succeeding, regardless of where they live and the size of their wallets ๐ŸŽ‰ The Frontend Developer Career Path aims to teach you everything you need to become a Junior Developer, or you could take a deep-dive with one of our advanced courses ๐Ÿš€

Happy Coding!

Summary

Make img completely round

border-radius: 50%;

Use group CSS selector

h1, h2, h4 {
	text-shadow: 0px 0px 1px black;
}```

### Turn the header into a flexbox

> heading elements are block by default.

```css
    display: flex;
    flex-direction: column;  /* This means column direction, default is row */
    justify-content: center; /* start, center, end, space-around, 
    space-evenly, space-between */
    align-items: center; /* default is stretch, start, center, end */

Replace img with a div

.gift-img {
  background-image: url("images/gift-cover.jpg"); 
  background-size: cover;
  margin: 0px auto;
}

text-align only centers in-line elements.

Make elements change on hover

.gift-img:hover {
  background-image: url("images/happy.gif");
}```

### Reuse classes, be specific with IDs

```css
.gift-img {
  /* ... */
}

#gift-img-happy:hover {
  background-image: url("images/happy.gif"); 
}

#gift-img-hot:hover {
  background-image: url("images/hot.gif"); 
}

Add the footer

https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_links

Gradients

background: linear-gradient(#a2d2ff, #efb0c9);

bd-gift-site's People

Contributors

giraldiego avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.