I wanted a box around each one but I think something like this would work as well. Is there a way to get a box around it? How would I change the line to solid black?
If you to box around it instead of a line on the bottom, you can replace the previous code with this.
article.post {
border-bottom: 2px solid black;
}
You can change the color value black
in this part of the code border-bottom: 2px solid black;
to any color you’d like.
Example:
border-bottom: 2px solid red;
or
border-bottom: 2px solid blue;
or
border-bottom: 2px solid black;