Skip to content

Commit d010e88

Browse files
committed
advanced example with my old newsletter
1 parent 39cf78a commit d010e88

15 files changed

Lines changed: 308 additions & 65 deletions

examples/example.css

Lines changed: 0 additions & 38 deletions
This file was deleted.

examples/example.html

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/example.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
require __DIR__ . '/../../../autoload.php';
4+
5+
use Northys\CSSInliner\CSSInliner;
6+
7+
$inliner = new CSSInliner;
8+
$inliner->addCSS(__DIR__ . '/newsletter.css');
9+
echo $inliner->render(file_get_contents(__DIR__ . '/newsletter.html'));
282 KB
Loading
111 KB
Loading
140 KB
Loading
130 KB
Loading
152 KB
Loading
126 KB
Loading
138 KB
Loading

0 commit comments

Comments
 (0)