Custom Form Elements - Radio & Checkbox Inputs. Using ONLY (S)CSS.
A Pen by Matt Daniel Brown on CodePen.
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@2.0.0/dist/tf.min.js"></script> | |
| <script src="https://unpkg.com/@tensorflow-models/speech-commands"></script> | |
| </head> | |
| <body> | |
| <div class="demo"> | |
| Please enable the microphone checkbox and authorize this site to access the microphone. | |
| <br /> | |
| Once the process finished loading speak one of the word bellow and see the magic happen. |
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@2.0.0/dist/tf.min.js"></script> | |
| <script src="https://unpkg.com/@tensorflow-models/speech-commands"></script> | |
| <style type="text/css"> | |
| .hidden { | |
| display: none; | |
| } |
| <div class="iphones"> | |
| <div class="iphone"> | |
| <header class="header"> | |
| <a href="#" class="button button--small"> | |
| <svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | |
| <use xlink:href="#icon-arrow-left" /> | |
| </svg> | |
| </a> | |
| <h1>Sign up</h1> | |
| </header> |
| <canvas id = 'c'></canvas> |
Custom Form Elements - Radio & Checkbox Inputs. Using ONLY (S)CSS.
A Pen by Matt Daniel Brown on CodePen.
A Pen by Matt Daniel Brown on CodePen.
Recreation of this Dribbble shot https://dribbble.com/shots/15124959-Light-UI-Elements by Jan Hoffmann.
A Pen by Matt Daniel Brown on CodePen.
| // Property Variable Definitions | |
| $color-prop : color; | |
| $bd-color-prop : border-color; | |
| $bg-color-prop : background-color; | |
| // Default argument (variable) values for @mxin color-for-props() | |
| $bg-and-bd-color-props : $bd-color-prop, $bg-color-prop; | |
| $bd-color-and-txt-color-props : $bd-color-prop, $color-prop; |
| #=============================================================================== | |
| # NAME : bash_script_usage_v2.template.sh | |
| # VERSION : 2.1.0 | |
| # CREATED : Dec 12 23:41:26 CST 2022 | |
| # AUTHOR : Matt Daniel Brown <dev@mattbrown.email> | |
| # WEB : gist.github.com/mattdanielbrown/f00f119358b57a20ca9db67718dfbaf3 | |
| #------------------------------------------------------------------------------- | |
| # USAGE : Copy the `usage()` function below and paste into your bash script | |
| # ... and then, replace the details as is appropriate for your script. | |
| #=============================================================================== |
| # Print usage | |
| usage() { | |
| echo -n "${scriptName} [OPTION]... [FILE]... | |
| NAME | |
| ============================================================================== | |
| The Full Name | |
| • Expanded or 'Friendly' : Name Of The Script/App/Project |