{"id":16,"date":"2020-12-04T19:45:00","date_gmt":"2020-12-04T17:45:00","guid":{"rendered":"https:\/\/html-online.com\/articles\/?p=16"},"modified":"2026-03-01T12:13:43","modified_gmt":"2026-03-01T10:13:43","slug":"html5-rubiks-cube","status":"publish","type":"post","link":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/","title":{"rendered":"HTML5 Rubik&#8217;s Cube"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"\/articles\/wp-content\/uploads\/2014\/11\/html5-rubiks-cube.jpg\" alt=\"html5 css3 rubiks cube\"> <strong>The Rubik&#8217;s Cube is a three-dimensional mechanical twisty puzzle, invented more than 40 yars ago in Hungary by Erno Rubik. It is estimated that more than 350.00 cubes were sold, making this simple yet so hard toy the most famous puzzle game of the World so I think there&#8217;s no need to describe it in more detail.<\/strong><br \/>\n<!--more--><br \/>\nThe most advanced online 3D Cube simulator with mouse controls can be found at the <a href=\"https:\/\/onlinecube.com\/\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\">Rubik&#8217;s Cube website<\/a>.<br \/>\nWhen it comes to modelling this cube on the web we can use a canvas or simply build the 54 little colored faces using rotated and transformed div elements in HTML5 and CSS3. There are for example <a href=\"https:\/\/ruwix.com\/online-rubiks-cube-solver-program\/\" target=\"_blank\" rel=\"nofollow noopener\">online Rubik&#8217;s Cube solvers<\/a> where the visitor inputs the colors of the scrambled cube and the program throws out the rotations needed to get the cube fixed. A HTML5 Rubik&#8217;s Cube can be used to demonstrate nice patterns, scrambles or we might want to build our own online Magic Cube to play with.<\/p>\n<p><strong><strong>To start building our <a href=\"https:\/\/ruwix.com\/widget\/3d\/\" target=\"_blank\" rel=\"noopener noreferrer\">HTML5 Rubik&#8217;s Cube<\/a> we have to define the &#8220;stickers of the cube&#8221; as 54 divs. We will have to position them one by one so we assign a custom field ID to each one of them and a color marker. According to the color scheme of the Rubik&#8217;s Cube, there are 6 different colors.<\/strong><\/strong><\/p>\n<p><strong><strong><\/strong><\/strong><\/p>\n<p><strong><strong><\/strong><\/strong><\/p>\n<p><strong><strong><\/p>\n<pre style=\"background: #fff; color: #000;\"><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">id<\/span>=<span style=\"color: #d80800;\">\"cubeFields\"<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field1 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>1<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field2 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>2<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field3 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>3<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field4 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>4<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field5 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>5<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field6 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>6<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field7 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>7<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field8 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>8<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field9 color6\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>9<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field10 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>10<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field11 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>11<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field12 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>12<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field13 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>13<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field14 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>14<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field15 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>15<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field16 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>16<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field17 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>17<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field18 color3\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>18<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field19 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>19<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field20 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>20<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field21 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>21<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field22 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>22<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field23 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>23<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field24 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>24<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field25 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>25<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field26 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>26<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field27 color2\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>27<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field28 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>28<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field29 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>29<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field30 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>30<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field31 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>31<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field32 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>32<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field33 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>33<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field34 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>34<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field35 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>35<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field36 color5\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>36<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field37 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>37<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field38 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>38<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field39 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>39<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field40 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>40<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field41 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>41<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field42 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>42<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field43 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>43<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field44 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>44<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field45 color4\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>45<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field46 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>46<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field47 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>47<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field48 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>48<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field49 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>49<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field50 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>50<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field51 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>51<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field52 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>52<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field53 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>53<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n    <span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">div<\/span> <span style=\"font-style: italic;\">class<\/span>=<span style=\"color: #d80800;\">\"field54 color1\"<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span>54<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">span<\/span>&gt;<\/span><span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n<span style=\"color: #1c02ff;\">&lt;\/<span style=\"font-weight: bold;\">div<\/span>&gt;<\/span>\n<\/pre>\n<p>To set up the stylesheet let&#8217;s define the colors of the stickers first:<\/p>\n<pre style=\"background: #fff; color: #000;\"><span style=\"font-style: italic;\">.color1<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#FFFFFF<\/span>;  }   \n<span style=\"font-style: italic;\">.color2<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#FF6907<\/span>;  }   \n<span style=\"font-style: italic;\">.color3<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#00A75D<\/span>;  }   \n<span style=\"font-style: italic;\">.color4<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#B60101<\/span>;  }\n<span style=\"font-style: italic;\">.color5<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#213DFD<\/span>;  }\n<span style=\"font-style: italic;\">.color6<\/span>{    <span style=\"color: #6d79de; font-weight: bold;\">background-color<\/span>: <span style=\"color: #c5060b; font-style: italic;\">#FFD500<\/span>;  }\n<\/pre>\n<p>Define the size of the fields, setting the black border.<\/p>\n<pre style=\"background: #fff; color: #000;\"><span style=\"font-style: italic;\">#cubeFields<\/span> &gt; <span style=\"font-weight: bold;\">div<\/span> {\n    <span style=\"color: #6d79de; font-weight: bold;\">position<\/span>: <span style=\"color: #06960e; font-weight: bold;\">absolute<\/span>;\n    <span style=\"color: #6d79de; font-weight: bold;\">width<\/span>: <span style=\"color: #cd0000; font-style: italic;\">26<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>;\n    <span style=\"color: #6d79de; font-weight: bold;\">height<\/span>: <span style=\"color: #cd0000; font-style: italic;\">26<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>;\n    <span style=\"color: #6d79de; font-weight: bold;\">border<\/span>: <span style=\"color: #cd0000; font-style: italic;\">2<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span> <span style=\"color: #06960e; font-weight: bold;\">solid<\/span> <span style=\"color: #c5060b; font-style: italic;\">#000<\/span>;\n}\n<\/pre>\n<p>I marked every field with a number which makes the items distinguishable, you can either delete these span tags from the HTML or just simply set them to display:none.<\/p>\n<pre style=\"background: #fff; color: #000;\"><span style=\"font-style: italic;\">#cubeFields<\/span> <span style=\"font-weight: bold;\">span<\/span> {\n    <span style=\"color: #6d79de; font-weight: bold;\">display<\/span>: <span style=\"color: #06960e; font-weight: bold;\">none<\/span>;\n}\n<\/pre>\n<p>It&#8217;s time to define the inidividual position of each little field and translate\/rotate them accordingly. I have added the browser prefixes only for the first fiels to keep this article short.<\/p>\n<pre style=\"background: #fff; color: #000;\"><span style=\"font-style: italic;\">.field1<\/span> {\n    transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>);\n    -moz-transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>);\n    -webkit-transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>);\n}\n<span style=\"font-style: italic;\">.field2<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field3<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field4<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field5<\/span> {   transform: rotatex(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field6<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field7<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field8<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field9<\/span> {   transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field10<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field11<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field12<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field13<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field14<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field15<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field16<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field17<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field18<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">+30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field19<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field20<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field21<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field22<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field23<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field24<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field25<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field26<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>);  \n.field27 {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field28<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field29<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field30<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field31<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field32<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field33<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field34<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field35<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field36<\/span> {  transform: rotateY(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-75<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field37<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field38<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field39<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field40<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field41<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field42<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field43<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field44<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field45<\/span> {  transform: translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">15<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">-45<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field46<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field47<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field48<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">-30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field49<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field50<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field51<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field52<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">0<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field53<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<span style=\"font-style: italic;\">.field54<\/span> {  transform: rotateX(<span style=\"color: #cd0000; font-style: italic;\">-90<span style=\"color: #0100b6; font-weight: bold;\">deg<\/span><\/span>) translateX(<span style=\"color: #cd0000; font-style: italic;\">60<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateY(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>) translateZ(<span style=\"color: #cd0000; font-style: italic;\">30<span style=\"color: #0100b6; font-weight: bold;\">px<\/span><\/span>); }\n<\/pre>\n<p>Rendering error in Mozzilla Firefox:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-43\" src=\"\/articles\/wp-content\/uploads\/2014\/11\/html5-rubiks-cube-mozzilla.jpg\" alt=\"html5-rubiks-cube-mozzilla\" width=\"132\" height=\"137\"><\/p>\n<p>The lates Internet Explorer 11 doesn&#8217;t support the CSS3 rotate transformation and this is how it renders the cube. Fortunately this has been fixed in Edge.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-44\" src=\"\/articles\/wp-content\/uploads\/2014\/11\/html5-rubiks-cube-render-ie.jpg\" alt=\"html5-rubiks-cube-render-ie\" width=\"114\" height=\"118\"><\/p>\n<p>To get more inspiration check out <a href=\"https:\/\/ruwix.com\/widget\/3d\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">this HTML5 Rubik&#8217;s Cube<\/a> where you can generate little cube widgets to demonstrate rotations and algorithms.<\/p>\n<p><\/strong><\/strong><strong><strong><\/strong><\/strong><strong><strong><\/strong><\/strong><strong><strong><\/strong><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Rubik&#8217;s Cube is a three-dimensional mechanical twisty puzzle, invented more than 40 yars ago in Hungary by Erno Rubik. It is estimated that more than 350.00 cubes were sold, making this simple yet so hard toy the most famous puzzle game of the World so I think there&#8217;s no need to describe it in &hellip; <a href=\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;HTML5 Rubik&#8217;s Cube&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-css","category-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HTML5 CSS3 Rubik&#039;s Cube - Without Canvas<\/title>\n<meta name=\"description\" content=\"To start building our HTML5 Rubik&#039;s Cube we have to define the &quot;stickers of the cube&quot; as 54 divs. We will have to position them one by one so we assign a\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML5 CSS3 Rubik&#039;s Cube - Without Canvas\" \/>\n<meta property=\"og:description\" content=\"To start building our HTML5 Rubik&#039;s Cube we have to define the &quot;stickers of the cube&quot; as 54 divs. We will have to position them one by one so we assign a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML Online\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/htmlcoding\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-04T17:45:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-01T10:13:43+00:00\" \/>\n<meta name=\"author\" content=\"HTML Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"HTML Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\"},\"author\":{\"name\":\"HTML Editor\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\"},\"headline\":\"HTML5 Rubik&#8217;s Cube\",\"datePublished\":\"2020-12-04T17:45:00+00:00\",\"dateModified\":\"2026-03-01T10:13:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\"},\"wordCount\":370,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"articleSection\":[\"CSS\",\"HTML\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\",\"url\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\",\"name\":\"HTML5 CSS3 Rubik's Cube - Without Canvas\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/#website\"},\"datePublished\":\"2020-12-04T17:45:00+00:00\",\"dateModified\":\"2026-03-01T10:13:43+00:00\",\"description\":\"To start building our HTML5 Rubik's Cube we have to define the \\\"stickers of the cube\\\" as 54 divs. We will have to position them one by one so we assign a\",\"breadcrumb\":{\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/html-online.com\/articles\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 Rubik&#8217;s Cube\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/html-online.com\/articles\/#website\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"name\":\"HTML Online Articles\",\"description\":\"Tips, tricks, tutorials\u2026\",\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/html-online.com\/articles\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/html-online.com\/articles\/#organization\",\"name\":\"HTML Online\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"width\":350,\"height\":350,\"caption\":\"HTML Online\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/htmlcoding\/\",\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\",\"name\":\"HTML Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"caption\":\"HTML Editor\"},\"description\":\"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/@htmlg\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML5 CSS3 Rubik's Cube - Without Canvas","description":"To start building our HTML5 Rubik's Cube we have to define the \"stickers of the cube\" as 54 divs. We will have to position them one by one so we assign a","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/","og_locale":"en_GB","og_type":"article","og_title":"HTML5 CSS3 Rubik's Cube - Without Canvas","og_description":"To start building our HTML5 Rubik's Cube we have to define the \"stickers of the cube\" as 54 divs. We will have to position them one by one so we assign a","og_url":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/","og_site_name":"HTML Online","article_publisher":"https:\/\/www.facebook.com\/htmlcoding\/","article_published_time":"2020-12-04T17:45:00+00:00","article_modified_time":"2026-03-01T10:13:43+00:00","author":"HTML Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"HTML Editor","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#article","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/"},"author":{"name":"HTML Editor","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d"},"headline":"HTML5 Rubik&#8217;s Cube","datePublished":"2020-12-04T17:45:00+00:00","dateModified":"2026-03-01T10:13:43+00:00","mainEntityOfPage":{"@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/"},"wordCount":370,"commentCount":0,"publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"articleSection":["CSS","HTML"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/","url":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/","name":"HTML5 CSS3 Rubik's Cube - Without Canvas","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/#website"},"datePublished":"2020-12-04T17:45:00+00:00","dateModified":"2026-03-01T10:13:43+00:00","description":"To start building our HTML5 Rubik's Cube we have to define the \"stickers of the cube\" as 54 divs. We will have to position them one by one so we assign a","breadcrumb":{"@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/html-online.com\/articles\/html5-rubiks-cube\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/html-online.com\/articles\/html5-rubiks-cube\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/html-online.com\/articles\/"},{"@type":"ListItem","position":2,"name":"HTML5 Rubik&#8217;s Cube"}]},{"@type":"WebSite","@id":"https:\/\/html-online.com\/articles\/#website","url":"https:\/\/html-online.com\/articles\/","name":"HTML Online Articles","description":"Tips, tricks, tutorials\u2026","publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/html-online.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/html-online.com\/articles\/#organization","name":"HTML Online","url":"https:\/\/html-online.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","width":350,"height":350,"caption":"HTML Online"},"image":{"@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/htmlcoding\/","https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww"]},{"@type":"Person","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d","name":"HTML Editor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","caption":"HTML Editor"},"description":"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.","sameAs":["https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/@htmlg"]}]}},"_links":{"self":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":3,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":2550,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/16\/revisions\/2550"}],"wp:attachment":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}