PHP Classes

File: examples/tailwind.php

Recommend this page to a friend!
  Classes of Yuriy Tkachenko   Simple Flash Messages   examples/tailwind.php   Download  
File: examples/tailwind.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple Flash Messages
Display message with different CSS frameworks
Author: By
Last change: Update code
Date: 1 year ago
Size: 521 bytes
 

Contents

Class file image Download
<?php

use function Tamtamchik\SimpleFlash\flash;

include_once
'_init.php';
?>

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test Tailwind default template example.</title>
    <!-- Latest compiled and minified CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>

<?php include_once '_ribbon.php'; ?>

<div class="container mx-auto" style="width: 600px;">

    <?php include_once '_menu.php'; ?>

    <?= flash()->displayTailwind() ?>

</div>

</body>
</html>