flex-wrap: wrap not working in ipad and android phones

Published on

flex-wrap: wrap not working in ipad and android phones,mobiles also in Safari. flex-wrap not working as expected in Safari Just need to add more explicitness to your flex declaration. In fact, I think only one line needs to change like so div.flex { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row;} div.flex. item … Continue reading flex-wrap: wrap not working in ipad and android phones

How to Automatically accept all Android SDK licences?

Published on

Encountered this with the alpha5 preview. Jake Wharton pointed out to me that you can currently use mkdir “$ANDROID_SDK/licenses” || true echo -e “\n8933bad161af4178b1185d1a37fbf41ea5269c55” > “$ANDROID_SDK/licenses/android-sdk-license” echo -e “\n84831b9409646a918e30573bab4c9c91346d8abd” > “$ANDROID_SDK/licenses/android-sdk-preview-license” to recreate the current $ANDROID_HOME/license folder on you machine. This would have the same result as the process outlined in the link of the … Continue reading How to Automatically accept all Android SDK licences?

How to accept the license agreement of Android SDK Platform 24

Published on

Error occurs when executing the following: $ cordova platform add android –save A problem occurred configuring root project ‘android’. You have not accepted the license agreements of the following SDK components: [Android SDK Platform 24]. Once the licenses are accepted it creates a file. You could create that file manually. It is described on this … Continue reading How to accept the license agreement of Android SDK Platform 24

‘validate_default_type!’: An option’s default must match its type. (ArgumentError)

Published on

‘validate_default_type!’: An option’s default must match its type. (ArgumentError). I have installed Ruby on Rails with gem install rails and have created a blog with rails new blog. The tutorial now says that I need to run rails generate controller Welcome index, however when I do, I get this error: I have had a similar … Continue reading ‘validate_default_type!’: An option’s default must match its type. (ArgumentError)

Text with multiple underlines using CSS

Published on

Text with multiple underlines using CSS. To play with after and before pseudo elements, too. Not sure how many lines you need, but you can also add few more, this way CSS: CSS: p { font-family:tahoma; font-size:16px;} span { border-bottom:1px solid blue; position:relative; display:inline-block;} span:before { content:”; position:absolute; left:0; bottom:-3px; border-bottom:1px solid red; display:block; width:100%;} … Continue reading Text with multiple underlines using CSS