You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
156 KiB

4 years ago
  1. +++
  2. title = "Card"
  3. description = "Display a bordered container with title area."
  4. categories = ["experience"]
  5. tags = []
  6. html_attributes = []
  7. custom_attributes = ["header", "text"]
  8. snippets_used = ["card", "external", "button"]
  9. [[copyright]]
  10. owner = "Josh Habdas"
  11. date = "2019"
  12. license = "agpl-3.0-or-later"
  13. +++
  14. With `header` attribute and plain text:
  15. ```html
  16. {{</* hackcss-card header="Title" text="Lorem ipsum dolor sit amet" /*/>}}
  17. ```
  18. {{< hackcss-card header="Title" text="Lorem ipsum dolor sit amet" />}}
  19. With `header` attribute and formatted text:
  20. ```html
  21. {{</* hackcss-card header="Hacker Ipsum" >}}<samp>Haxx0r ipsum true class firewall continue bytes recursively grep <b>Linus Torvalds</b> gobble Trojan horse d00dz baz. Crack bang <mark>ssh for int buffer</mark> sql fork mailbomb gnu then client salt spoof. Server python error throw sudo fatal while echo dereference concurrently.</samp>{{< /hackcss-card */>}}
  22. ```
  23. {{< hackcss-card header="Hacker Ipsum" >}}<samp>Haxx0r ipsum true class firewall continue bytes recursively grep <b>Linus Torvalds</b> gobble Trojan horse d00dz baz. Crack bang <mark>ssh for int buffer</mark> sql fork mailbomb gnu then client salt spoof. Server python error throw sudo fatal while echo dereference concurrently.</samp>{{< /hackcss-card >}}
  24. With `header` attribute, [External](../external), [Button](../button) and HTML:
  25. ```html
  26. {{</* hackcss-card header="DJI Mavic Air Quadcopter with Remote Controller - Arctic White" >}}
  27. <img src="/images/products/mavic-air.png">
  28. {{< external rel="next" href="https://go.habd.as/mavic-air" >}}
  29. {{< hackcss-button type="primary" text="View on Amazon" isblock="true" />}}
  30. {{< /external >}}
  31. {{< /hackcss-card */>}}
  32. ```
  33. {{< hackcss-card header="DJI Mavic Air Quadcopter with Remote Controller - Arctic White" >}}
  34. <img alt="Product image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAM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AHRSTlMABQoGDhIXIAsbMxE7HxgsJzE6J0JGSmdWeVIkp7ZKWlmXiC7X40DKZXpYa47W86Tfv8Ri79tz7ueI83fcwfXwrJXrd9iunYifw93DmenB/vF1vZOt0bKT9tLB/b/u3+vk7N+u2OzHqufb/sJx2///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////FsSsOQAAEABJREFUeJzs3etvU1e+P/4j5UmkiAiQUKlEES29iNsAvYjRofQ2bVHn9HvU9ow6+laameqop5pHiW0cJ/Gm3tve8fYl3hinNo4vcQwmEAg0ISEJuZNIefB7Nn/OV0d98Fuftda+2AkUWkoceL+AkNCQ0uDm7c9nfdZa//ZvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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16s//+7//7//9L337+f63nx9u3eo/GgAAbEetB9/6639Oro8PZzRVUcK52YurCN9N7I2tD/b/zJJ3g2+/RAQDAMBjadmx/69fTcyPD8eT4YiiRk3TeOeT0/vbt/rP1YyO/rjWOcBr342+P7jVfzoAANg+2l//01cfz4+V4xoL33A0bRp/funFPQjfB3jryuJiZ/+/WAT//K+f71/v7+w/t7g4Pb20tDa92PH3w1gLBgCAR9D2+um/fMwrXzUSCUfNaPiPL72yZwdS5MFa/nRl8dq1K/eWJ+ZW5iYmJubYt9HRUfba6MTc3D9Po2cPAAAPR4u+Hy+Ml6ntHAmbpmmw8N2L8P0lLYf/fmW+UBoeG5mZX5mboxBm2UshzF7OrXyFgXEAAHggFr6ffvyPsXI8zSvftAjfnQjfR9Fy+B96VC8Mjw3NzK9TAlMGs/TlETw39/Fb+DQCAMAmqPL96h91bec3EL6P5cD7elQrDFcogVd4DTzK62DRip77KxbQAQCgHh93/sdYLWWqYuAq/Ic3Xt67C9tnHtOeE3o0maEaeGF9ZYKvBMv8pTb03Fc4NwwAAGwsfM9S+MbstjML3xd2YWjo19jNEliLWzWwCGCewFYbGs9pAADg30T4fvJupcjCNxQJp5Os8v3zPoTvb8AS2EzGy5WhBd6F5gFsJzCL4
  35. {{< external rel="next" href="https://go.habd.as/mavic-air" >}}
  36. {{< hackcss-button type="primary" text="View on Amazon" isblock="true" />}}
  37. {{< /external >}}
  38. {{< /hackcss-card >}}