Color Swatches
Premium Category Products
Explanation:
- HTML Structure:
- The HTML consists of a header (
<h1>
) displaying the title "Color". - The
swatch-container
div holds individualswatch
divs that represent the color options. - The selected color is displayed below the in a container with the class
selected-color
.
- The HTML consists of a header (
- CSS Styling:
- The body of the page has a clean background color and uses flexbox to center the swatches.
- Each
swatch
is styled as a square with a specified width, height, and a border-radius to make it look like a rounded button. - The swatches have a hover effect that increases their size and adds a border to indicate selection.
- JavaScript Functionality:
- The JavaScript function
setColor(color)
is triggered when a swatch is clicked. This function:- Changes the background color of the body to the selected color.
- Updates the text content of the
color-code
span to show the hexadecimal color code of the selected color.
- The JavaScript function
Features:
- Interactive: Users can click any of the color swatches, and the background color will change to that color.
- Hover Effects: The swatches grow in size and add a border when hovered, providing a better user interaction.
- Color Display: The selected color code is displayed on the page, allowing users to see the exact color they've selected.
Customization:
- Add More Colors: You can easily extend the number of colors by adding more
div
elements inside the.swatch-container
. - Different Sizes: Adjust the size of the swatches by changing the
width
andheight
properties in the CSS. - Color Themes: You could create different themes (e.g., pastel colors, neon colors) by choosing different color codes for the swatches.
- Colors loaded from javascript array – 330 colors included.
- Narrow and wide view
- Sort and filter
- Looks great on mobile
(Only For Premium Category Products !)
1. All digital products are the most recent version, with no possibility of free updates. After payment, you can request an update to the most recent version for 5 days if a new version is released. We free support within 5 days.
2. If a license is required (Excludes WHMCS license , we provide only method not license), please contact us via email or ticket for assistance with activation. Our license is only valid for activation and does not include support.
3. We provide Mobile, PHP script installation services for $19.90 / ₹1700. Please create a backup after installation as we do not support re-installation. For mobile app source code, we do not offer installation services.
4. If you have any questions, please contact us by email support@gplpixel.com or create a ticket on this page
5. Please note that any digital products presented on the website do not contain malicious code, viruses or advertising. You will receive the original files from the developers. We do not sell any products that have been downloaded from other websites.
6. The response time can last up to 6 hours.
(Only For Membership Category Products !)
Benefits of our Membership Plans
- Instant access to all plugins and all themes including all future releases
- Unlimited domain usage
- Regular Updates as of when available. Usually, updates are released daily.
- Before purchasing, please read the Terms and Conditions & Refund Policy.
- If you have any questions, please first read the FAQs.
- If you haven’t found the answer to your question, please contact us, and we will respond ASAP.
- Please note that any digital products on the website do not contain malicious code, viruses, or advertising. We buy the original files from the developers. We do not sell any products downloaded from other sites.
- Buy or download for FREE by subscribing to our VIP Membership Plan. Join the club of more than 1100+ happy members. This is the same theme as sold by the developer.
Updates:
- We offer frequent updates for one year from the date of purchase. After this period, you have to purchase the item again to receive further updates, we also offer lifetime updates as a second option.
- We regularly update products as soon as we are notified about an update, we go and download it from the author and update it on our site, but In case the current version of the product is not the latest, You can request an update for the product by contact form.
- We send regular emails advising when products have been updated so please be sure to provide an active email address when you sign up.
Support:
- Our support team is available 24/7, if you have any questions or need help in installing or configuring digital products purchased on the website, please don’t hesitate to contact form.
- Please note that we are not developers of the provided products, so our technical support capabilities are limited. We do not change product functionality and do not fix developer bugs.
(Only For WHMCS Category Products !)
- We Only provide WHMCS Module, how you can nulled any module step only !
- Instant access to all plugins and all themes
- Unlimited domain usage
- Regular Updates as of when available. Usually, updates are released daily.
- Before purchasing, please read the Terms and Conditions & Refund Policy.
- If you have any questions, please first read the FAQs.
- If you haven’t found the answer to your question, please contact us, and we will respond ASAP.
- Please note that any digital products on the website do not contain malicious code, viruses, or advertising. We buy the original files from the developers. We do not sell any products downloaded from other sites.