├── README.md ├── LICENSE └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # collapse 2 | Do you need make a collapse? Great! Here i'am guide by CusMeDroid 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CusMeDroid 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |How do i create collapse by using styles from CusMeDroid?
44 |54 | <!DOCTYPE html> 55 | <html> 56 | <head> 57 | <title>Collapse | CusMeDroid</title> 58 | <link rel='stylesheet' type='text/css' href='https://cusmedroid.github.io/css/style.css'> 59 | </head> 60 | <body> 61 | <button class='collapsible black-bg Trirong'>Collapse</button> 62 | <div class='clp-content Trirong'> 63 | <div class='padd-10'> 64 | <b>Lorem Ipsum</b> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. 65 | </div> 66 | </div> 67 | <script type='text/javascript' src='https://cusmedroid.github.io/js/collapse.js'></script> 68 | </body> 69 | </html> 70 |71 |
82 | <!DOCTYPE html> 83 | <html> 84 | <head> 85 | <title>Collapse | CusMeDroid</title> 86 | <link rel='stylesheet' type='text/css' href='https://cusmedroid.github.io/css/style.css'> 87 | </head> 88 | <body> 89 | <button class='collapsible black-bg Trirong'>Collapse</button> 90 | <div class='clp-content Trirong'> 91 | <a title='Home' href=''>Home</a> 92 | <a title='About' href=''>About</a> 93 | <a title='Contact' href=''>Contact</a> 94 | <a title='Roadmap' href=''>Roadmap</a> 95 | </div> 96 | <script type='text/javascript' src='https://cusmedroid.github.io/js/collapse.js'></script> 97 | </body> 98 | </html> 99 |100 |
102 | With a cusmedroid stylesheet, it makes it very easy for you to pick up some style features.
103 | And you can Replace the background on the 'black-bg' class with another one, or add another class. Read our Docs.
104 |
If you want this collapse to appear in mobile mode add 'aclp' to the class button.
106 | Example : 107 |108 | <button class='collapsible aclp black-bg Trirong'>Collapse</button> 109 |110 | 111 |