{"id":23755,"date":"2016-08-07T03:01:57","date_gmt":"2016-08-06T17:01:57","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=23755"},"modified":"2016-08-14T10:18:44","modified_gmt":"2016-08-14T00:18:44","slug":"css-and-html-complex-selectors-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-and-html-complex-selectors-primer-tutorial\/","title":{"rendered":"CSS and HTML Complex Selectors Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/complex_selectors.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS and HTML Complex Selectors Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/complex_selectors.jpg\"  \/><\/a><p class=\"wp-caption-text\">CSS and HTML Complex Selectors Primer Tutorial<\/p><\/div>\n<p>Today we want to delve deeper into the less obvious aspects of CSS, encouraged as we were to find this <a target=_blank title='Great link' href='http:\/\/learn.shayhowe.com\/advanced-html-css\/complex-selectors\/'>wonderful inspiring link<\/a> &#8230; thanks.  But hold off on the &#8220;bounce&#8221; now, because we are value adding the wonderful information from the link with practical and self explanatory HTML and CSS web applications that all show &#8230;<\/p>\n<ul>\n<li>CSS involved &#8230; is inline CSS shown and available in the HTML programming source you can optionally download &#8230; and &#8230;<\/li>\n<li>HTML subset of relevance that the CSS acts on &#8230; above &#8230;<\/li>\n<li>The resultant HTML webpage result<\/li>\n<\/ul>\n<p> &#8230; all these three components on the one webpage, to help with &#8220;cause and effect&#8221; regarding these more complex CSS concepts.  Perhaps, that way, they&#8217;ll &#8220;sink in&#8221; quite well?!<\/p>\n<p>So what &#8220;Complex Selector&#8221; types are we trying to highlight in today&#8217;s web application &#8230;<\/p>\n<ol>\n<li>Direct Child &#8230; child in parent\/child relationship &#8230; (Today&#8217;s) eg. <i>article &gt; p<\/i> { &#8230; }<\/li>\n<li>General Sibling &#8230; elements at the same hierarchical layer &#8230; (Today&#8217;s) eg. <i>h2 ~ p<\/i> { &#8230; }<\/li>\n<li>Adjacent Sibling &#8230; first elements at the same hierarchical layer &#8230; (Today&#8217;s) eg. <i>h2 + p<\/i> { &#8230; }<\/li>\n<\/ol>\n<p>Knowing about some of these more esoteric selectors could help you pinpoint specific elements within complex &#8220;container&#8221; elements, we hope you get out of today&#8217;s work.<\/p>\n<p>So this leaves us leaving you with links to &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Tutorial picture' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/complex_selectors.jpg'>Tutorial picture<\/a> today, curiously, may be more useful to you than &#8230;<\/li>\n<li><a target=_blank title='Click picture' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/complex_selectors.html'>Live run<\/a> &#8230; made up of &#8230;<\/li>\n<li>HTML and CSS programming source code you could call <a target=_blank title='complex_selectors.html' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/complex_selectors.html_GETME'>complex_selectors.html<\/a><\/li>\n<\/ul>\n<p> &#8230; and we&#8217;ll get back to you with more CSS of this ilk as time goes on.<\/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='#d19034' onclick='var dv=document.getElementById(\"d19034\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/css\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d19034' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we want to delve deeper into the less obvious aspects of CSS, encouraged as we were to find this wonderful inspiring link &#8230; thanks. But hold off on the &#8220;bounce&#8221; now, because we are value adding the wonderful information &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-and-html-complex-selectors-primer-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,37],"tags":[281,1549,564,576,997,1953,1209,1319],"class_list":["post-23755","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-css","tag-element","tag-hierarchy","tag-html","tag-programming","tag-selector","tag-style","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/23755"}],"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=23755"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/23755\/revisions"}],"predecessor-version":[{"id":24153,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/23755\/revisions\/24153"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=23755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=23755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=23755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}