title: Download html with dynamic-css as pdf using python or js
body: <p>I have a html-content with dynamic-css in python class which will be later passed to a js file. I need to download this html-content as pdf format.</p>
  
  <p>I have gone through various html to pdf convertor tools(pdfkit,pdfcrowd,wkhtmltopdf) but none of them is able to render the dynamic css content.</p>
  
  <p>I have even tried using windows.document.documentElement for obtaining html content with dynamic css rendered. 
  But this did not work.</p>
  
  <p>My question is: can we generate dynamic css seperately on python or download the complete pdf using js?</p>
  
  <p>Thanks in advance</p>