mardi 24 novembre 2015

PHP Random "Splited right and Left Side" background image

Guys im trying to implemnet a random background image for my site this works also fine but the problem is i have two different images which should be union for Example both backgrounds. i have 5 different background designs with on set (1 set = 2 images)one for the left and another for the right side. But they don't match anybody an Idea? Thanks!

this is is wrong cause the design is not the same

[2

<div class="tak-bg tak-bg-left bg<?php echo rand(1, 5); ?>
<div class="tak-bg tak-bg-right bg<?php echo rand(1, 5); ?>

sass code




Aucun commentaire:

Enregistrer un commentaire