Git Product home page Git Product logo

projekt-vizitka's Issues

Feedback 2. DÚ Vizitka

Terko dobrá práce, tady je pár poznámek:

  • Chybí margin 30px pod H1 a nad tlačítky
  • Na boxu i kolečku chybí stín
  • Není potřeba použít třídu box a contentbox, můžeš to sloučit do jedné
  • Border radius na tlačítkách máš 10px, v zadání je 5px. Ta šipka dole ukazuje na roh kartičky.
  • Místo značky img bych stylovala nějakou třídu (např. foto). Kdyby bylo použito více obrázků, ať nejsou všechny kulaté. Ale tady je jen jeden, tak to nevadí.
  • V CSS se snaž dodržet nějakou posloupnost nahoře bys měla mít body
  • Nu a co s tou navigací 🤔, pokud chceš použít odrážky, tak bych to viděla v CSS takto:

.menu {
text-decoration: none;
list-style-type: none;
padding: 0;
margin: 30px 0 0 0;
text-align: center;
}
.menu a {
display: block;
border-radius: 5px;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
color: white;
padding: 8px 0;
}
.twitter {
background-color: #1da1f2;
margin-bottom: 5px;
border-radius: 5px;
}
.twitter:hover {
background-color: #0b7bc1;
}
.fb {
background-color: #3b5998;
border-radius: 5px;
}
.fb:hover {
background-color: #2b406e;
}

  • V tomto případě, bych ale ul a li vyházela a nechala jen dva odkazy nějak takto:

< a class=“button twitter" href="https://twitter.com/" >Twitter
< a class=“button fb" href="https://www.facebook.com/" >Facebook

Té společné třídě .button pak nastavíš jen
color: white;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  border-radius: 5px;

A twitter a fb zůstane viz 🔝

Nejsem si jistá, že jsem vše napsala srozumitelně, kdyžtak to v úterý dořešíme :-)

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.