Most of the formatting properties can be figured out just by experimenting, but "border" and "border radius" are more confusing.
Border defines the thickness of the border line, the style of the line (solid, dashed, etc.), and the color. The order is not important, just a space between them.
The thickness should be whole numbers followed by px ("1px" or "4px").
Style can be "solid", "dashed", "double", etc.
https://www.w3schools.com/cssref/pr_border-style.asp
Color is as the other color properties.
The border radius specifies what the corners will look like. The most common units are % and px. A very simple entry would be "0" meaning a radius in every corner of 0 (0 is the only value that does not need a unit). "5px" would be a 5 pixel radius in every corner. "50%" would be a radius of half the length of each side for each corner. (A circle for a square or an oval for a rectangle).
All of the above can also be given values for each individual corner or side.
“value” gives all four sides the same.
“value1 value2” gives top and bottom sides value1, and left and right sides value2.
“value1 value2 value3 value4” gives the top value1, right side value2, bottom value3, left side value3. (Values start on the upper side and go clockwise)
“value” gives all four corners the same.
“value1 value2” gives top-left and bottom-right corners value1, and top-right and bottom-left sides value2.
“value1 value2 value3 value4” gives the top-left corner value1, top-right corner value2, bottom-right corner value3, bottom-left corner value3. (Values start in the upper left and go clockwise)
Border radius can get more complicated as each corner can have 2 values representing the line length of the left and right side of that corner. This is represented by a "/" between lengths. The values before the slash represent the horizontal radii of that corner, the value after the slash represent the vertical radii of that corner.
“50% 50% 0 0 / 100% 100% 0 0” would produce a bullet shape.
There are many tutorials/example of this on the web, just search “border-radius css”
This tool may help for border radius:
https://developer.mozilla.org/en-US/doc ... _generator
A simple oblong shape would be like this:
- shape.png (20.41 KiB) Viewed 182806 times