Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
492 B
8
Indexable
Never
This the an inline style in a wordpress website.  

<style>@import url("//fonts.googleapis.com/css?family=Muli:400,600,700,500&subset=latin");
 @media screen and (max-width: 700px) {
#mysection {background-image: none !important;}}@font-face{font-family:eicons;src:url(/wp-content/eicons.eot?5.10.0);
</style>


I need a php code that will get url of @import from <style> tag and print it as 

<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Muli:400,600,700,500&subset=latin">