Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
649bbf3
Added Post-it for z-index
Matty92G Nov 21, 2022
1490c00
Added HTML and CSS as part of challenge
Nov 21, 2022
998617a
HTML added to properties section. CSS formatting added to .post-it se…
TedDoesTech Nov 21, 2022
fce6a66
tom wilkinson post it
Tomm-92 Nov 21, 2022
179ab51
Created basic post-it with necessary information
RachmannJoubert Nov 21, 2022
88ffe0a
added Class and ID
Matty92G Nov 21, 2022
e598bce
fixed conflict and added rotate
Nov 21, 2022
dc9c165
lewis smith postit font-weight
lewsmit2 Nov 21, 2022
f95b140
added sticky note- Abi Turner
Abi-Turner Nov 21, 2022
9280a9c
index-boxshadow
josephredmond5 Nov 21, 2022
621d54c
css-boxshadow
josephredmond5 Nov 21, 2022
3cd29a2
Merge branch 'oct-22' into matthew-giles
Matty92G Nov 21, 2022
4eb00f1
delete other cohorts on my branch
Matty92G Nov 21, 2022
e322f83
Merge pull request #91 from MCRcodes/matthew-giles
thepunkyone Nov 21, 2022
63fd741
changes to <ul> as requested by reviewer
TedDoesTech Nov 21, 2022
113a695
Merge pull request #98 from MCRcodes/abi-turner
thepunkyone Nov 21, 2022
67b3985
Upated ID selector
Nov 21, 2022
7b5468d
added Pseudo-Element Seletor Post-it
tonymm55 Nov 21, 2022
3ba301d
Set size/rotation of post-it and additional margin for text
RachmannJoubert Nov 21, 2022
fe58019
Merge branch 'oct-22' into ed-crowther
TedDoesTech Nov 21, 2022
5810545
Merge branch 'main' into tom-wilkinson
Tomm-92 Nov 21, 2022
25a45a2
Merge pull request #89 from MCRcodes/ed-crowther
TedDoesTech Nov 21, 2022
439f40a
shadow-box
josephredmond5 Nov 21, 2022
19ccf2d
Merge branch 'oct-22' into rob-b
robjeybee Nov 21, 2022
20ee0b9
Merge pull request #103 from MCRcodes/rob-b
robjeybee Nov 21, 2022
ca87ec4
attemp 2 at mergining correctly
Matty92G Nov 21, 2022
1d55017
Merge branch 'oct-22' into tony-moran
tonymm55 Nov 21, 2022
8bc5d6b
Merge branch 'oct-22' into tony-moran
tonymm55 Nov 21, 2022
37a6382
Merge pull request #104 from MCRcodes/tony-moran
tonymm55 Nov 21, 2022
fd04444
Merge branch 'oct-22' into joseph-redmond
jasminbateman Nov 21, 2022
c902de4
Merge pull request #97 from MCRcodes/joseph-redmond
jasminbateman Nov 21, 2022
feef77d
Merge branch 'oct-22' into rachmann-joubert
RachmannJoubert Nov 21, 2022
e71d576
Merge branch 'oct-22' into lewis-smith
lewsmit2 Nov 21, 2022
4d03894
Merge pull request #102 from MCRcodes/lewis-smith
lewsmit2 Nov 21, 2022
9342f96
missing closing CSS selector curly brace
Nov 21, 2022
acdd670
Merge branch 'oct-22' into rachmann-joubert
RachmannJoubert Nov 21, 2022
3b1a048
Merge pull request #106 from MCRcodes/rachmann-joubert
RachmannJoubert Nov 21, 2022
2d40612
Merge pull request #112 from MCRcodes/rob-b
robjeybee Nov 21, 2022
35443c3
added css styles
Nov 21, 2022
b0c8f76
Merge branch 'oct-22' into tom-wilkinson
Tomm-92 Nov 21, 2022
f61369b
Merge pull request #108 from MCRcodes/tom-wilkinson
Tomm-92 Nov 21, 2022
c267103
Merge branch 'matthew-giles' into oct-22
Matty92G Nov 21, 2022
2f896c3
Changed code to styles.css
Nov 21, 2022
b64846a
Merge branch 'oct-22' into Lee-Moss
Nov 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 52 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,53 +13,76 @@ <h1 class="dashboard--heading">CSS Board</h1>

<section class="dashboard--selectors">
<h2>Selectors</h2>
<ul></ul>
<ul>
<li class="post-it" id="Tony-Moran">
<h3>Pseudo-Element Selectors</h3>
<p> A CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element(s).</p>
======= </li>
<li class="post-it" id="Abi-Turner">
<h3>Element Selector</h3>
<p>The element selector selects HTML elements based on the element name.</p>
</li>
</ul>
</section>

<section class="dashboard--properties">
Lee-Moss
<ul>
<h2>Properties</h2>
<li class="post-it" id="Lee-Moss">
<h3>Float</h3>
<p>The float property can be used to wrap text around images</p>

<h2>Properties</h2>
<ul>
<li class="post-it" id="tom-wilkinson">
<h3> Opacity</h3>
<p> The opacity property sets the opacity level for an element. The opacity-level describes the transparency-level, where 1 is not transparent at all, 0.5 is 50% see-through, and 0 is completely transparent.</p>
</li>


<li class="post-it" id="rachmann-joubert">
<h3>Background Image</h3>
<p>The background-image property sets
one or more background images on an
element.
</p>
</li>

<li class="post-it" id="lewis-smith">
<h3>font-weight</h3>
<p>This property determines the weight (boldness) of the font. It is contingent on the font-family that is currently set. Example values include: normal, bold, lighter, bolder, 100, 900 etc.</p>
</li>

<li class="post-it" id="joseph-redmond">
<h3>box-shadow</h3>
<p>the box-shadow CSS property adds shadow effects around an elements frame</p>
</li>

<li id="edcrowther" class="post-it">
<h3>Drop Shadow</h3>
<p>A property which attaches a shadow effect to an element, default value is none. Varibales such as horizontal and vertical offset can be defined, along with blur, spread and color, amongst others.</p>
</li>

<li class="post-it" id="Rob-B">
<h3>Padding</h3>
<p>
CSS padding properties are used to generate space around an
element's content, inside of any defined borders.
</p>

oct-22
</li>
</ul>
</section>

<section class="dashboard--layouts">
<h2>Layouts</h2>
<ul>
<li id="sarah-moran" class="post-it">
<h3>Display inline</h3>
<p>
Inline elements do not generate a line-break before or after
themselves. The next element will be in the same line, as long
as there's enough space and no other properties stating
otherwise. You cannot adjust the height and width of these
elements.
</p>
</li>

<li class="post-it" id="tarndeep">
<h3>Display Block</h3>
<p>
Displays an element as a block. It starts on a new line, and
takes up the whole width of the line.
</p>
</li>

<li class="post-it" id="greg-cain">
<h3>Absolute Positioning</h3>
<p>
Absolute Positioning is a web design technique that involves
“breaking the grid” using absolute Positioning for elements.
This helps create a unique and memorable design while offering a
visually compelling user experience.
</p>
</li>
<li class="post-it" id="matthew-giles">
<h3>z-index</h3>
<p>The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one.</p>
</li>
</ul>
</section>
</div>
Expand Down
76 changes: 53 additions & 23 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ h3 {
font-weight: bold;
margin-bottom: 4px;
font-weight: bold;
font-display: bold;
}

.post-it {
Expand All @@ -22,6 +23,16 @@ h3 {
text-align: center;
padding: 10px;
margin-bottom: 20px;
height: 200px;
aspect-ratio: 1/1;
background-color: #FF6F91;
transform: rotate(10deg)
}
#Lee-Moss {
aspect-ratio: 1;
height: 200px;
background-color: #ff6f91;
rotate: 2deg;
}

.dashboard-frame {
Expand Down Expand Up @@ -88,52 +99,71 @@ h3 {
/* SELECTORS */
/***************************************************/
/* Put Selector post-it styles here! ↓ */
.dashboard--selectors {
transform: rotate(-3deg);
background-color:#E0EA87;
}
h3 {
font-weight: bold;
}
=======
.post-it {
aspect-ratio: 1/1;
height: 200px;
background-color: #E0EA87;
rotate: -10deg;

/***************************************************/
/* PROPERTIES */
/***************************************************/
/* Put Property post-it styles here! ↓ */

.post-it {
background-color: #ff6f91;
aspect-ratio: 1 / 1;
aspect-ratio: 1/1;
height: 200px;
transform: rotate(-5deg);
background-color: #FF6F91;
}

.post-it h3 {
font-weight: bold;

#lewis-smith {
rotate: -4deg;
}

/***************************************************/
/* LAYOUTS */
/***************************************************/
/* Put Layout post-it styles here! ↓ */
#sarah-moran {
background-color: #0089ba;
#joseph-redmond {
transform:rotate(8deg);
background-color: #0089BA;
height: 200px;
aspect-ratio: 1/1;
rotate: 5deg;
padding-top: 100%;
}
#greg-cain {
background-color: #0089ba;
max-width: 200px;
max-height: 200px;
transform: rotate(10deg);
#joseph-redmond h2 {
font-weight: bold;
}

#Rob-B {
background-color: #FF6F91;
}

#tarndeep {
width: 200px;

aspect-ratio: 1 / 1;
height: 200px;
border: 2px turquoise solid;
background-color: #0089ba;
transform: rotate(-5deg);
}

#tarndeep h3 {
#Rob-B h3 {
font-weight: bold;
}


/***************************************************/
/* LAYOUTS */
/***************************************************/
/* Put Layout post-it styles here! ↓ */

#matthew-giles {
background-color: #0089ba;
transform: rotate(-4deg);
}

/***************************************************/
/* MEDIA QUERIES TO ENSURE RESPONSIVENESS */
/* Please do not change ^_^ */
Expand Down