{"id":51966,"date":"2021-03-20T03:01:14","date_gmt":"2021-03-19T17:01:14","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=51966"},"modified":"2024-09-08T16:55:05","modified_gmt":"2024-09-08T06:55:05","slug":"css-3d-transformation-matrix-tool-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-3d-transformation-matrix-tool-tutorial\/","title":{"rendered":"CSS 3D Transformation Matrix Tool Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS 3D Transformation Matrix Tool Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/transform_matrix_tailored.jpg\" title=\"CSS 3D Transformation Matrix Tool Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">CSS 3D Transformation Matrix Tool Tutorial<\/p><\/div>\n<p>The <a target=\"_blank\" title='Thanks' href='http:\/\/franklinta.com\/2014\/09\/08\/computing-css-matrix3d-transforms\/' rel=\"noopener\">brilliance of others, thanks<\/a>, and of <a target=\"_blank\" title='Javascript jQuery library' href='https:\/\/jquery.com\/' rel=\"noopener\">jQuery<\/a>, thanks, were behind the &#8220;proof of concept&#8221; feel to the <a title='CSS 3D Transformation Matrix Primer Tutorial' href='#css3dtmpt'>CSS 3D Transformation Matrix Primer Tutorial<\/a> &#8220;CSS 3D Transformation Matrix&#8221; topic we are revisiting today.<\/p>\n<p>Today, practicalities and usefulness, and the development of a user controlled set of outputs, take over our thoughts.<\/p>\n<p>On a revisit, as a start, we wondered whether &#8230;<\/p>\n<ol>\n<li>we could make the styling of the initial HTML div &#8220;box&#8221; element styling user definable<\/li>\n<li>we could make the background image CSS properties &#8230;\n<ul>\n<li>background-repeat:no-repeat;<\/li>\n<li>background-size:cover;<\/li>\n<li>background-size:contain;<\/li>\n<li>elements above become <i>style=&#8217;visibility:hidden;&#8217;<\/i> (as required)<\/li>\n<\/ul>\n<p> &#8230; be user definable\n<\/li>\n<\/ol>\n<p> &#8230; and the answers are &#8220;yes&#8221; and &#8220;ya&#8221; &#8230;<\/p>\n<ol>\n<li>we could make the styling of the initial HTML div &#8220;box&#8221; element styling user definable &#8230; <font color=blue>keeping the jQuery happy by refreshing when user changes the styling<\/font> &#8230;<br \/>\n<code><br \/>\nfunction fixstyle(stih) {<br \/>\n  var idivs=0, boxrect=null, kdivs=0;<br \/>\n  stih=stih.replace(\/\\&amp\\;lt\\;\/g, '&lt;').replace(\/\\&amp\\;gt\\;\/g, '&gt;').replace(\/\\&lt\\;\/g, '&lt;').replace(\/\\&gt\\;\/g, '&gt;');<br \/>\n  \/\/alert('0:' + stih);<br \/>\n  if (stih.indexOf('&lt;style&gt;') != -1 && stih.indexOf('&lt;\/style&gt;') != -1) {<br \/>\n    document.getElementById('dstyle').innerHTML='&lt;style&gt;' + stih.split('&lt;\/style&gt;')[0].split('&lt;style&gt;')[1] + '&lt;\/style&gt;';<br \/>\n    \/\/alert('&lt;Style&gt;' + stih.split('&lt;\/style&gt;')[0].split('&lt;style&gt;')[1] + '&lt;\/style&gt;');<br \/>\n    var divs=document.getElementsByTagName('div');<br \/>\n    for (var jdivs=0; jdivs&lt;2; jdivs++) {<br \/>\n    if (kdivs == 0) {<br \/>\n    for (idivs=0; idivs&lt;divs.length; idivs++) {<br \/>\n      if (('' + divs[idivs].className).indexOf('ui-draggable') != -1) {<br \/>\n        if (boxrect) {<br \/>\n          if (kdivs == 0) {<br \/>\n            kdivs++;<br \/>\n            divs[idivs].style.left=('' + boxrect.left) + 'px';<br \/>\n            divs[idivs].style.top=('' + boxrect.top) + 'px';<br \/>\n          } else if (kdivs == 1) {<br \/>\n            kdivs++;<br \/>\n            divs[idivs].style.left=('' + boxrect.left) + 'px';<br \/>\n            divs[idivs].style.top=('' + boxrect.bottom) + 'px';<br \/>\n          } else if (kdivs == 2) {<br \/>\n            kdivs++;<br \/>\n            divs[idivs].style.left=('' + boxrect.right) + 'px';<br \/>\n            divs[idivs].style.top=('' + boxrect.top) + 'px';<br \/>\n          } else if (kdivs == 3) {<br \/>\n            kdivs++;<br \/>\n            divs[idivs].style.left=('' + boxrect.right) + 'px';<br \/>\n            divs[idivs].style.top=('' + boxrect.bottom) + 'px';<br \/>\n            \/\/alert('&lt;stylE&gt;' + stih.split('&lt;\/style&gt;')[0].split('&lt;style&gt;')[1] + '&lt;\/style&gt;');<br \/>\n            location.href=document.URL.split('?')[0].split('#')[0] + '?styling=' + encodeURIComponent('&lt;style&gt;' + stih.split('&lt;\/style&gt;')[0].split('&lt;style&gt;')[1] + '&lt;\/style&gt;');<br \/>\n          }<br \/>\n        }<br \/>\n      } else if (('' + divs[idivs].className).indexOf('box') != -1 && !boxrect) {<br \/>\n        boxrect=divs[idivs].getBoundingClientRect();<br \/>\n      }<br \/>\n    }<br \/>\n    }<br \/>\n    }<br \/>\n  } \/\/else {<br \/>\n    \/\/alert(stih);<br \/>\n  \/\/}<br \/>\n}<br \/>\n<\/code><br \/>\n &#8230; Javascript teamed with <font color=purple>the changed<\/font> HTML\/Javascript (behind it) &#8230;<br \/>\n<code><br \/>\n&lt;div id=\"img\" class=\"box\"<font color=purple> contenteditable=true onblur=\"fixstyle((this.innerText || this.contentWindow || this.contentDocument).replace(\/\\&lt;br\\&gt;\/g, ' ').replace(\/\\&amp\\;lt\\;\/g, '&lt;').replace(\/\\&amp\\;gt\\;\/g, '&gt;').replace(\/\\&lt\\;\/g, '&lt;').replace(\/\\&gt\\;\/g, '&gt;'));\"<\/font>&gt;<br \/>\n    Drag the points to transform the box!<font color=purple>  Optionally change styling below.&lt;br&gt;<br \/>\n&lt;script type='text\/javascript'&gt;<br \/>\n  var xstyis=location.search.split('styling=')[1] ? decodeURIComponent(location.search.split('styling=')[1].split('&')[0]) : '';<br \/>\n  if (xstyis != '') {<br \/>\n    while (xstyis.indexOf(String.fromCharCode(10)) != -1) {<br \/>\n      xstyis=xstyis.replace(String.fromCharCode(10), '&lt;br&gt;');<br \/>\n    }<br \/>\n    \/\/alert(xstyis.replace(\/\\&lt;\/g,'&lt;').replace(\/\\&gt;\/g,'&gt;'));<br \/>\n    document.write(xstyis.replace(\/\\&lt;s\/g,'&lt;s').replace(\/\\&lt;\\\/\/g,'&lt;\/').replace(\/e\\&gt;\/g,'e&gt;'));<br \/>\n  } else {<br \/>\n    document.write('&lt;style&gt;&lt;br&gt;.box {&lt;br&gt;margin: 20px;  padding: 10px;&lt;br&gt;height: 150px; width: 500px;&lt;br&gt;border: 1px solid black; }&lt;br&gt;&lt;\/style&gt;&lt;br&gt;');<br \/>\n  }<br \/>\n&lt;\/script&gt;<\/font><br \/>\n&lt;\/div&gt;<br \/>\n<\/code>\n<\/li>\n<li>we could make the background image CSS properties &#8230;\n<ul>\n<li>background-repeat:no-repeat;<\/li>\n<li>background-size:cover;<\/li>\n<li>background-size:contain;<\/li>\n<li>elements above become <i>style=&#8217;visibility:hidden;&#8217;<\/i> (as required)<\/li>\n<\/ul>\n<p> &#8230; be user definable &#8230; <font color=blue>allow us to stay on the current incarnation of the webpage<\/font> &#8230;<br \/>\n<code><br \/>\nfunction applythis(tv) {<br \/>\n  <font color=blue>var hides, ihides=0;<\/font><br \/>\n  if (tv != \"\") {<br \/>\n   if (tv.trim() == tv) {<br \/>\n    document.getElementById(selector.replace('#','')).style.background='URL(' + tv + ')';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundRepeat='repeat';<br \/>\n   } <font color=blue>else {<br \/>\n    if (tv.indexOf(tv.trim() + '   ') != -1) {<br \/>\n    document.getElementById(selector.replace('#','')).style.background='URL(' + tv.trim() + ')';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundSize='cover';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundRepeat='no-repeat';<br \/>\n    } else if (tv.indexOf(tv.trim() + '  ') != -1) {<br \/>\n    document.getElementById(selector.replace('#','')).style.background='URL(' + tv.trim() + ')';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundSize='contain';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundRepeat='no-repeat';<br \/>\n    } else {<br \/>\n    document.getElementById(selector.replace('#','')).style.background='URL(' + tv.trim() + ')';<br \/>\n    document.getElementById(selector.replace('#','')).style.backgroundRepeat='no-repeat';<br \/>\n    }<br \/>\n   }<br \/>\n   if (tv.indexOf('#') != -1) {<br \/>\n     hides=document.getElementsByTagName('h1');<br \/>\n     for (ihides=0; ihides&lt;hides.length; ihides++) {<br \/>\n       hides[ihides].style.visibility='hidden';<br \/>\n     }<br \/>\n     hides=document.getElementsByTagName('h3');<br \/>\n     for (ihides=0; ihides&lt;hides.length; ihides++) {<br \/>\n       hides[ihides].style.visibility='hidden';<br \/>\n     }<br \/>\n     hides=document.getElementsByTagName('p');<br \/>\n     for (ihides=0; ihides&lt;hides.length; ihides++) {<br \/>\n       hides[ihides].style.visibility='hidden';<br \/>\n     }<br \/>\n   }<\/font><br \/>\n  }<br \/>\n}<br \/>\n<\/code>\n<\/li>\n<\/ol>\n<p>So why don&#8217;t you (re)try this HTML and Javascript (mostly jQuery) and CSS <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html-GETME\" title=\"more_transform.html\" rel=\"noopener\">more user controllable<\/a> web application <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html-GETME\" title=\"more_transform.html\" rel=\"noopener\">more_transform.html<\/a>&#8216;s <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html\" title=\"Click picture\" rel=\"noopener\">live run<\/a> to see what we mean?  It still feels weird, and wonderful!<\/p>\n<p>We have bigger plans than this.  Perhaps you can guess the direction we might go next?!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=\"_blank\" href='\/\/www.rjmprogramming.com.au\/ITblog\/css-3d-transformation-matrix-tool-tutorial\/' rel=\"noopener\">CSS 3D Transformation Matrix Tool Tutorial<\/a>.<\/p-->\n<hr>\n<p id='css3dtmpt'>Previous relevant <a target=\"_blank\" title='CSS 3D Transformation Matrix Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/css-3d-transformation-matrix-primer-tutorial\/' rel=\"noopener\">CSS 3D Transformation Matrix Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS 3D Transformation Matrix Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/transform_matrix.jpg\" title=\"CSS 3D Transformation Matrix Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">CSS 3D Transformation Matrix Primer Tutorial<\/p><\/div>\n<p>The tutorial <a title='CSS3 3D Rotation and Transformation Primer Tutorial' href='#css33drtpt'>CSS3 3D Rotation and Transformation Primer Tutorial<\/a> discussed CSS styling regarding element transformations, and referred to the wonderful content of <a target=\"_blank\" title='' href='http:\/\/franklinta.com\/2014\/09\/08\/computing-css-matrix3d-transforms\/' rel=\"noopener\">Computing CSS matrix3d transforms | Franklin Ta<\/a>, involving matrix mathematics to transform HTML elements and the <a target=\"_blank\" title='CSS matrix3d() function information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/transform-function\/matrix3d' rel=\"noopener\">matrix3d()<\/a> CSS function &#8230; great stuff, thanks.  Also, coming at this topic of transformations from another angle, the previous <a target=\"_blank\" title='ImageMagick and Three Ps Charcoal Implode Quality Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/imagemagick-and-three-ps-charcoal-implode-quality-tutorial\/' rel=\"noopener\">ImageMagick and Three Ps Charcoal Implode Quality Tutorial<\/a> touches on this aspect of transformations, in its case &#8220;affine&#8221; transformations, whereby an actual image element is transformed and presented in a downloadable way.<\/p>\n<p>Today we recreate that work with the CSS matrix3d() function of Frank Ta to turn this into a web application where you can drag the edges of an HTML div element to derive the underlying CSS matrix3d() function parameter set would be used to recreate this HTML div display, perhaps elsewhere.  We also allow for the user to enter in an image URL that if they click a button will apply that image as the background image to the HTML div element, as you can see play out with today&#8217;s <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/transform_matrix.jpg\" title=\"Tutorial picture\" rel=\"noopener\">tutorial picture<\/a>.  The <a target=\"_blank\" href='http:\/\/jquery.org' title='jQuery Javascript library home page' rel=\"noopener\">jQuery<\/a> Javascript here helps the day enormously, though Frank used the <a target=\"_blank\" title='CoffeeScript' href='http:\/\/coffeescript.org\/' rel=\"noopener\">CoffeeScript<\/a> (compiled into Javascript) within the <a target=\"_blank\" title='CodePen' href='https:\/\/codepen.io\/' rel=\"noopener\">CodePen<\/a> &#8220;Front End Developer Playground and Code Editor&#8221; environment <font size=1>&#8230; worth taking a skeg &#8230;<\/font> when doing a cuter looking web application at that aforesaid mentioned link.<\/p>\n<p>Is the power of the modern device going to mean these types of transformations will &#8220;power&#8221; our online world, rather than trying to make the original media &#8220;fit the bill&#8221;, always?  We&#8217;d say, probably, but we&#8217;d also say &#8230; <\/p>\n<blockquote onclick=\"window.open('http:\/\/www.rjmprogramming.com.au\/PHP\/nala.php','_blank');\" style='cursor:pointer;background-color:transparent;'>\n<div style=\"vertical-align:top;color:red;width:100%;text-align:right; background: -webkit-linear-gradient(#BBB, white) bottom repeat; background: linear-gradient(#BBB, white) bottom repeat; \"><b><i>&#8220;Nala! Put down that<br \/> matrix3d(0.7751,1.854,0,0,<br \/> 0,1.3861,0,0, 0,0,1,0,<br \/> -0.0004308,0.003552,0,1)<br \/> &#8216;deformed&#8217; soft toy, we think<br \/> you&#8217;ll find belongs to Luna &#8230; <br \/>Naaaalllllaaaa!&#8221;<\/i><\/b><\/p>\n<div style=\"margin-top:-165px;margin-right:290px;text-align:right;height:195px;color:transparent;background:URL('http:\/\/www.rjmprogramming.com.au\/Mac\/PhotoBooth_flickr.jpg');background-position:-140px -400px;background-repeat:no-repeat;  -webkit-filter: brightness(220%);filter: brightness(220%);\"><i>Nala! Put down that matrix3d(0.775105,1.85444,0,0, 0,1.386120,0,0, 0,0,1,0,<br \/> -0.000430821,0.00355248,0,1)<br \/> &#8220;deformed&#8221; soft toy, that<br \/> we think you&#8217;ll find belongs to Luna &#8230; Naaaalllllaaaa!<\/i>\n<\/div>\n<\/div>\n<div style=\"margin-top:30px;\"> &#8230; and don&#8217;t think that&#8217;s going to cut the mustard at the next World Symposium of Transformation Matr<strike>esses<\/strike>ices 2017 &#8230; &#8220;The Future Is Ahead of One<font size=1>sies<\/font>&#8220;.<\/div>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>Why don&#8217;t you try this HTML and Javascript (mostly jQuery) and CSS web application <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html_GETME\" title=\"more_transform.html\" rel=\"noopener\">more_transform.html<\/a>&#8216;s <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/more_transform.html\" title=\"Click picture\" rel=\"noopener\">live run<\/a> to see what we mean?  It can be weird, and wonderful!<\/p>\n<hr>\n<p id='css33drtpt'>Previous relevant <a target=\"_blank\" title='CSS3 3D Rotation and Transformation Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/css3-3d-rotation-and-transformation-primer-tutorial\/' rel=\"noopener\">CSS3 3D Rotation and Transformation Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/rotate3d.html\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS3 3D Rotation and Transformation Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/rotate3d.png\" title=\"CSS3 3D Rotation and Transformation Primer Tutorial\" id='zxcv' onmouseover=' this.src=this.src.replace(\".jpg\",\".PNG\").replace(\".png\",\".jpg\").replace(\".PNG\",\".png\"); '  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">CSS3 3D Rotation and Transformation Primer Tutorial<\/p><\/div>\n<blockquote><p>Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including plain XML, SVG and XUL.<\/p><\/blockquote>\n<p><a target=\"_blank\" title='click picture' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/rotate3d.html' rel=\"noopener\">Tutorial<\/a> &#8230;<\/p>\n<p>Cascading Style Sheet methodology is a good technique in order to separate document content from document presentation.  For the same content, two different CSS approaches can produce vastly different browser outputs.<\/p>\n<p>With today&#8217;s tutorial we concentrate on CSS within HTML and specifically the CSS3 3D Rotation and Transformation functionality you can read about <a target=\"_blank\" title='CSS3 3D Transforms' href='http:\/\/www.w3schools.com\/css\/css3_3dtransforms.asp' rel=\"noopener\">CSS3 3D Transforms<\/a> at w3schools.<\/p>\n<p>With the transformations section there are 16 elements in a 4&#215;4 matrix to define, and so there is a fair degree of mathematical geometry that would be good to know here.  This mathematics is explained well at <a target=\"_blank\" title='' href='http:\/\/franklinta.com\/2014\/09\/08\/computing-css-matrix3d-transforms\/' rel=\"noopener\">Computing CSS matrix3d transforms | Franklin Ta<\/a> &#8230; thanks a lot.<\/p>\n<p>You can download source code and rename to <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/rotate3d.html_GETME' title=\"rotate3d.html\" rel=\"noopener\">rotate3d.html<\/a> or you can use the <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/rotate3d.html' title=\"rotate3d.html\" rel=\"noopener\">live run<\/a> to wake up all those ants on the footpath that have been thinking their life is just grand and dandy.<\/p>\n<p>Thanks to <a target=\"_blank\" title='CSS information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Cascading_Style_Sheets' rel=\"noopener\">Wikipedia<\/a> for the quote above.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d10553' onclick='var dv=document.getElementById(\"d10553\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=rotation\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d10553' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d32616' onclick='var dv=document.getElementById(\"d32616\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/matrix\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d32616' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d51966' onclick='var dv=document.getElementById(\"d51966\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/contenteditable\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d51966' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The brilliance of others, thanks, and of jQuery, thanks, were behind the &#8220;proof of concept&#8221; feel to the CSS 3D Transformation Matrix Primer Tutorial &#8220;CSS 3D Transformation Matrix&#8221; topic we are revisiting today. Today, practicalities and usefulness, and the development &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-3d-transformation-matrix-tool-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[12,14,37],"tags":[2442,281,342,576,652,663,756,997,2005,1298,1319,1891,3597,3575,2485],"class_list":["post-51966","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-contenteditable","tag-css","tag-div","tag-html","tag-javascript","tag-jquery","tag-matrix","tag-programming","tag-tool","tag-transform","tag-tutorial","tag-user","tag-user-definable","tag-user-input","tag-visibility"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51966"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=51966"}],"version-history":[{"count":5,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51966\/revisions"}],"predecessor-version":[{"id":64610,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51966\/revisions\/64610"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=51966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=51966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=51966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}