Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
<?php | |
add_filter("bppg_iwilldo_it_myself","__return_true");//stop the plugin to inject css | |
//now we can write our own css | |
add_action("wp_head","my_css_for_profile_bg"); | |
function my_css_for_profile_bg(){ | |
$image_url=bppg_get_image(); | |
if(!$image_url) |
global['document'] = { | |
createElement() { | |
return { | |
setAttribute: function(type) { this.type = type; }, | |
type: '', | |
classList: { add: () => undefined } | |
}; | |
}, | |
documentElement: { | |
getBoundingClientRect: () => ({ |
#!/bin/bash | |
#GLOBAL | |
HTTPRESPONSE="json" | |
SUCCESS="success" | |
#TEST | |
#UIARTFCT="target/package.zip" | |
#UILOC="./target/" | |
#AUTHORHOST="localhost" |
/** | |
* This hook overrides a function check at runtime. Currently, cordova-android 7+ incorrectly detects that we are using | |
* an eclipse style project. This causes a lot of plugins to fail at install time due to paths actually being setup | |
* for an Android Studio project. Some plugins choose to install things into 'platforms/android/libs' which makes | |
* this original function assume it is an ecplise project. | |
*/ | |
module.exports = function(context) { | |
if (context.opts.cordova.platforms.indexOf('android') < 0) { | |
return; | |
} |
There is a bug in Safari when using border-radius
and overflow: hidden
. Especially when applying transform
to a child.
In this case, overflow: hidden
does not always work. The child ignores the border radius and overflows.
It's a very old bug. And sadly it seems that it will never be fixed. Anyway, we can't wait for it.
There are some workaround. We need to place the element with the overflow attribute into a stacking context.
I've tested the following workarounds on the latest version of iOS (14.4).
You can choose what you want. But you should search the web for the particular attribute. (e.g. will-change
should be rarely used. See docs)
Use this on the element with overflow: hidden
and border-radius
:
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |