mahin993 / shopping-cart

0 stars 0 forks source link

Button resize #1

Open mahin993 opened 9 months ago

mahin993 commented 9 months ago

<!DOCTYPE html>

Resizable and Editable Buttons
mahin993 commented 9 months ago

Data Retrieved

<!DOCTYPE html>

Employee Management System prepare($query); $stmt->execute(); if ($stmt->rowCount() > 0) { $resultData = $stmt->fetch(PDO::FETCH_ASSOC); // Output data in a modal echo ""; // Button to open the modal echo ""; } else { echo "No employee data available."; } // Add a logout button echo '
'; } else { // Display login and registration forms include 'login.php'; include 'register.php'; } ?>

/ Add your existing styles here /

/ Modal styles / .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }

.modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }

.close { position: absolute; top: 10px; right: 10px; font-size: 20px; cursor: pointer; }