Академический Документы
Профессиональный Документы
Культура Документы
Why did you experience difficulty in counting in the previous rectangles and
squares? How did you know the number of those shapes despite the similarity of
its color?
Identify its border style?
Activity
1. You will be grouped into 4 and you will open your previous
activity.
2. Each group will be given an assigned codes.
3. Give each member a task.
4. After encoding, answer this:
a. What happen to the border when you use those properties
and values?
5. Once done, your group will be called and one member will report
their answer.
Processing
Group 1(Border style)
Border Style
The border-style property specifies what kind of border to display.
P{
border-style:solid;
}
Border style
The following values are allowed:
dotted - Defines a dotted border
Ex. p.dotted {border-style: dotted;}
p.three {
border-style: solid;
border-color: red green blue yellow;
}
Border Color
• The border-color property is used to set
the color of the four borders. p.one {
border-style: solid;
• The color can be set by: border-color: red;
o name - specify a color name, like}
"red" p.one {
border-style: solid;
o Hex - specify a hex value, like border-color: #FF0000;
"#ff0000" }
o RGB - specify a RGB value, like p.one {
border-style: solid;
"rgb(255,0,0)" border-color: rgb(255,0,0);
o transparent }
Border Color
Left Border
p {
border-left: 6px solid red;
background-color: lightgrey;
}
Border Color
Bottom Border
p {
border-bottom: 6px solid red;
background-color: lightgrey;
}
Border Color
Border Color
Rounded Borders
The border-radius property is used to add rounded borders to
an element:
p {
border: 2px solid red;
border-radius: 5px;
}
Recitation: Identify the style used.
dotted solid
dashed doubled
Groove
ridge
inset
1. Create a webpage that will display the list of
your advisers from grade 7 to present. Each
names will be inside the border applying the
different properties.