After I’ve changed the original code so that I only have three cards, the preview looks like this:
The text of the first card is on the left side, the text of the center card is center an the text of the right card is on the right side. Also all three cards rotate at the same time.
<div class="wrapper">
<div class="cols">
<div class="col" ontouchstart="this.classList.toggle('hover');">
<div class="container">
<div class="front" style="background-image: url(https://unsplash.it/500/500/)">
<div class="inner">
<p>Diligord</p>
<span>Lorem ipsum</span>
</div>
</div>
<div class="back">
<div class="inner">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Alias cum repellat velit quae suscipit c.</p>
</div>
</div>
</div>
</div>
<div class="col" ontouchstart="this.classList.toggle('hover');">
<div class="container">
<div class="front" style="url(https://unsplash.it/511/511/)">
<div class="inner">
<p>Rocogged</p>
<span>Lorem ipsum</span>
</div>
</div>
<div class="back">
<div class="inner">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Alias cum repellat velit quae suscipit c.</p>
</div>
</div>
</div>
</div>
<div class="col" ontouchstart="this.classList.toggle('hover');">
<div class="container">
<div class="front" style="background-image: url(https://unsplash.it/502/502/)">
<div class="inner">
<p>Strizzes</p>
<span>Lorem ipsum</span>
</div>
</div>
<div class="back">
<div class="inner">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Alias cum repellat velit quae suscipit c.</p>
</div>
</div>
</div>
</div>
<div class="col" ontouchstart="this.classList.toggle('hover');">
<div class="container">
<div class="front" style="background-image: url(https://unsplash.it/503/503/)">
<div class="inner">
<p>Clossyo</p>
<span>Lorem ipsum</span>
</div>
</div>
<div class="back">
<div class="inner">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Alias cum repellat velit quae suscipit c.</p>
</div>
</div>
</div>
</div>
</div>
By using the above “html-code” on Codepen, the cards are correct. … using the same “html-code” in Blocs in a STRUCTURE ONE COLUMN with Code Widget Bric, the cards are not correct.
The CSS-Code is originally imported in Site header.
I don‘t know anything about coding. Can you please help me? I don’t want the finished result. Rather, the way to the goal. This is the only way I can learn. Thank you.
Hello Jerry, I Hope you enjoyed the Drink in the shade of a coconut Palm…
Thank you for your effort to explicitly show me the way to the goal. I was able to follow you up to the class-manager. Now I don’t know what to do. How do I import CSS from the project-notes into the corresponding Blocks? Thank you very much for your support, which I greatly appreciate. And also the patience you show to make me (Grandpa ) happy.
Hi Jerry,
I so much appreciated your help. I was messing around with CodePen changing various things. It was a fun experience.
Things I could not do:
make the cards have different images.
make the whole card clickable.
Question I have your Fancy Card can I edit that Bloc easier than CodePen? Since I am not too familiar with the way you set it up, I found it difficult to work with.
Would you be willing to take a look at my html & css that I toyed with? If not it’s okay, I realize how busy you can.