Not logged in : Login

About: Comment 16 by Matt (nydybbuk)     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : sioc:Post, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
Date Created
  • 2018-01-17T05:24:45.460Z
Date Modified
  • 2018-01-22T21:59:33.368Z
label
  • Comment 16 by Matt (nydybbuk)
seeAlso
discourse:topic_slug
  • fundamental-css-comprehension-assessment
discourse:post_number
  • 16
discourse:quote_count
  • 0
discourse:incoming_link_count
  • 49
discourse:score
  • 259.8
discourse:topic_id
  • 24682
described by
has container
content
  • proxy:entity/https/discourse.mozilla.org/t/fundamental-css-comprehension-assessment/24682#content_65678

    I’m looking for feedback about my work on the Fundamental CSS Comprehension exercise. I’m not sure if my footer is aligned perfectly but I can’t figure out how to fix it. Also my background colors seem a bit off.

    body, h2, p, article, img, section {
      margin: 0;
      padding: 0;
    }
    
    html {
      font-family: 'Helvetica neue', Arial, 'sans serif';
      font-size: 10px;
      background-color: #ccc;
    }
    
    article {
    	height: 12em;
    	background-color: rgba(0,0,0,.2);
    }
    
    article p {
    	color: white;
    	padding: 1em;
    }
    
    h2 {
    	font-size: 2em;
    }
    
    /* Rulesets to be matched up with selectors */
    
    .card {
      width: 35em;
      height: 22em;
      margin: 5em auto;
      background-color: red;
      border: 0.2em solid black;
      border-radius: 1.5em;
    }
    
    /* Rulesets for header and footer */
    
    .card header {
    	height: 3em;
    	margin: 0;
    }
    
    .card header {
      background-image: linear-gradient(to bottom,rgba(255,0,0,0.4), rgba(255,0,0,0));
      border-radius: 1.5em 1.5em 0 0;
      padding: 1em;
    }
    
    .card footer {
      background-image: linear-gradient(to bottom,rgba(255,0,0,0), rgba(255,0,0,0.4));
      border-radius: 0 0 1.5em 1.5em;
      height: 3em;
      padding: 1em;
      margin: 0;
    }
    
    .card footer p {
    	margin: 0;
    	font-size: 1.5em;
    }
    
    /* Rulesets for main card content */
    
    .card article img {
      max-height: 100%;
      float: right;
    }
discourse:reply_count
  • 1
author
is has reply of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software