Skip to content
Snippets Groups Projects
Commit f44db8fd authored by Kreinsen, Moritz's avatar Kreinsen, Moritz
Browse files

Update index.html

parent a0b7b23e
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<section class="memory-game"> <section class="memory-game">
<div class="memory-card" data-framework="aurelia"> <div class="memory-card" data-framework="aurelia">
<?php <!-- <?php
$text = 'Beispieltext'; $text = 'Beispieltext';
$style = 'background-color: #FFCCCB' $style = 'background-color: #FFCCCB'
$svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>"; $svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>";
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
$src = 'data:image/svg+xml;base64,$svgData'; $src = 'data:image/svg+xml;base64,$svgData';
$imgTag = "<img class='front-face' src='$src' alt='$text' style='$style'/>"; $imgTag = "<img class='front-face' src='$src' alt='$text' style='$style'/>";
echo $imgTag; echo $imgTag;
?> ?> -->
<!-- <img class="front-face" src="img/aurelia.svg" alt="Aurelia" style="background-color: #FFCCCB"/> --> <img class="front-face" src="img/aurelia.svg" alt="Aurelia" style="background-color: #FFCCCB"/>
<img class="back-face" src="img/js-badge.svg" alt="JS Badge" /> <img class="back-face" src="img/js-badge.svg" alt="JS Badge" />
</div> </div>
<div class="memory-card" data-framework="aurelia"> <div class="memory-card" data-framework="aurelia">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment