diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1f9b5ec --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Mohamed Farahat + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..6702259 --- /dev/null +++ b/README.md @@ -0,0 +1,122 @@ +# Slider Component + +A simple HTML/CSS slider component for showcasing content in a visually appealing manner. + +## Table of Contents + +- [Demo](#demo) +- [Features](#features) +- [Usage](#usage) +- [Customization](#customization) +- [License](#license) + +## Demo +
+ +
+ + +> Or, you can explore the live demo of this component [here](#). + +## Features + +- Smooth transitions between slides +- Easy to integrate into existing projects +- Customizable navigation buttons + +## Usage + +To use this slider component in your project, follow these steps: + +1. Clone or download this repository. +2. Include the `style.css` file in the `` section of your HTML file: + + ```html + + ``` + +3. Copy the HTML structure of the slider component into your HTML file: + + ```html + +
+ + + + + + + +
+ +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ +
+ +
+ + ``` + +4. Customize the content of each slide as per your requirement. + +## Customization + +You can customize the appearance of the slider component by modifying the CSS in the `style.css` file. Here are some key customization options: + +- Adjusting the dimensions of the slider: + ```css + .slider { + width: 350px; + height: 400px; + } + ``` + +- Changing the background color: + ```css + .slider { + background-color: aliceblue; + } + ``` + +- Styling the navigation buttons: + ```css + .nav { + /* Customize button styles here */ + } + ``` + +- Modifying the slide content styles: + ```css + .contents { + /* Customize slide content styles here */ + } + ``` + +Feel free to explore and experiment with the CSS to achieve the desired look and feel for your slider component. + +## License + +This project is licensed under the [MIT License](LICENSE). diff --git a/demo.mp4 b/demo.mp4 new file mode 100644 index 0000000..1671c60 Binary files /dev/null and b/demo.mp4 differ