html - CSS selector select by div class attributes -
<div class="thumbnail-popular" style="background: url('http://images.gogoanime.tv/images/upload/go!.princess.precure.full.1812487.jpg');"></div>
i trying url component of div class seem unable fetch specific data in div class.
i have looked making use of attributes attempts have been unsuccessful far.
usage of css selector through kimonolabs.
div.thumbnail-popular
should element you're looking — unless there more 1 such element, in case need narrow down selector.
for example need find out if particular element belongs specific parent, or first, second, ... nth child, or other information surrounding elements in page you're working with.
the background url in style
attribute on element, need extract attribute described here. still need parse declarations inside style
value in order url; not sure if possible through kimono not familiar (i'm not sure advanced mode does, , it's difficult tell lone screenshot provided in article).
Comments
Post a Comment