diff --git a/public/freebies/css-selector-cheat-sheet.avif b/public/freebies/css-selector-cheat-sheet.avif new file mode 100644 index 0000000..4309f27 Binary files /dev/null and b/public/freebies/css-selector-cheat-sheet.avif differ diff --git a/src/blogComponents/cornerShape/CornerShapeExample.astro b/src/blogComponents/cornerShape/CornerShapeExample.astro new file mode 100644 index 0000000..f69294c --- /dev/null +++ b/src/blogComponents/cornerShape/CornerShapeExample.astro @@ -0,0 +1,149 @@ +--- +interface Props { + borderRadius: string + cornerShape: string + hoverCornerShape?: string + selector?: string + width?: string + height?: string +} + +const { + borderRadius, + cornerShape, + hoverCornerShape = cornerShape, + selector, + width = "160px", + height = "160px", +} = Astro.props +--- + +
+ Your browser doesn't support corner-shape yet
+
+ This example requires browser support for the
+ corner-shape property.
+
{selector}}
+
+ Your browser doesn't support{" "}
+ corner-shape yet
+
+ This interactive demo requires browser support for the{" "}
+ corner-shape CSS property. You
+ can interact with the controls, but the preview will only show
+ standard rounded corners.
+
{cssCode}
+
+ Your browser doesn't support corner-shape yet
+
+ The visual examples below require browser support for the{" "}
+ corner-shape CSS property. All boxes may appear as simple rounded
+ corners in your browser.
+
round
+ Standard circular arc (default)
+ bevel
+ Straight lines to a point
+ scoop
+ Concave inward curve
+ notch
+ Sharp concave right angle
+ squircle
+ iOS app icon shape
+ square
+ Right-angle corners
+