Polymer - Producing cards on large screens and plain text on small screens? - polymer

thanks for reading this and helping out a complete stranger.
Essentially, I am trying to replicate what Google says in their material design document using polymer, recreating this effect http://material-design.storage.googleapis.com/images/materialdesign-goals-landingimage_large_mdpi.png
Sadly, I've had no success, I had originally though that such a feature would be built in Polymer (Please correct me if I'm wrong). Anyway, thanks for your help, and here is the source code https://github.com/Rijul-Ahuja/Rijul-Ahuja.github.io/tree/master/Enactus

i think you are looking for core-media-query
https://www.polymer-project.org/docs/elements/core-elements.html#core-media-query
edit: added a video on how to use it.
https://www.youtube.com/watch?v=svfu9iQ8cyg

Related

Making website responsive in Joomla

I'm currently developing a website using Joomla. I have problem to make my website responsive. My current solution is adding CSS codes into the HTML, but it does not work. Can someone give me a solution on how make my website responsive without using extension or changing the template. Thank You.
If the template you're using isn't already responsive you're really making things hard for yourself by wanting to stick with it.
The way css is loaded varies according to template, so you need to check yours to see what mechanism(s) it gives you for including your own css. Again, if there isn't one, you're probably best to get a new one, it will make life so much easier.
If they've implemented a mechanism for you to use, that will probably define the file you can use.
There may be an option in the template admin panel to enter css.
Without knowing which template you're using and how it does that, it's pretty hard to give a very useful answer.

Sliding button [Ionic]

So how can I make a slide button like in the picture below using ionic framework ?
Awesome question!!
In CSS or the web community in general it is called a Toggle button. According to ionic's official website, what you call it, will not get the results you are looking for.
Here is the official code snippet:
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-calm">Airplane Mode</ion-toggle>
And here is the Official Codepen that goes with it
And if you have anymore of these related questions you should check out the official docs!
Happy developing!
Edit:
What you are wanting I think isn't completely possible with ionic, if I find a better solution I will share, but I seem to be stumped now :/
Edit2: I am starting to conclude as bad as it seems, that this isn't but only common to e.g. IOS, but not finding it in any examples, just standard toggle buttons. The animation is done as though it was a checkbox. So essentially you are checking it. It just looks different. You may have to engineer this yourself. Again I will add a better solution if I find one, but as for now, I don't think there is a way to get it exactly as you wish.

Advance Web Page Design

I googled a lot for design something as the picture in HTML, but couldn't find anything hint. I wonder is it possible to design a web application in what picture show?
It can be easily implemented just using HTML and CSS but if you are pretty much comfortable with these two languages then I suggest you to learn Bootstrap.Using Bootstrap you can make even better than this.It has predefined classes for buttons,icons,header.tables,and lot more.Trust me,You'll love it.Hope this helps!!!!
That doesn't look very advanced to me.
The laptop is an image
Its container uses some shadows and gradients and
The icons are also images.
Regarding the literal question: Since it's already made, it's possible.
All you need is: HTML, CSS, JavaScript and the desire to code.

HTML book style paging

I have an unusual task. I have a big html with images and links. I need parse it and show as book with book style paging (by swipes). Do someone faced with task similar in iOS? Maybe there exist an opensource ebook solutions (with HTML support)? For example in Android I used FBReader.
I need iOS native solution.
You have turnjs, but it's not free
And jQuery booklet, but this one doesn't include swipe
if you are looking for native code you can get the paging effect from the following example
http://mobile.tutsplus.com/tutorials/iphone/building-an-ipad-reader-for-war-of-the-worlds/

Alignment of images and data change in html webpages

Hello every one i had created a website using dreamweaver in windows7 which worked good in my system.I opened the same html site in another system with operating system windows xp and even in windows 7, but all the alignments of images ,textfields ,buttons and header image,content etc everything has been changed.what might be the problem.Can any one help me in solving this problem.Your answer will be most precious thing to me.Thanks to every one whose going to spend time on reading this question.
Without knowing more details it's hard to properly answer your question. Going to take a shot in the dark about a common issue.
If you did it in Dreamweaver you probably used its interface to drag and drop div elements around to place them in exactly the right positions. The problem with this method is that DW will use positioning relative to your screen size and it might not show up too well on other resolutions.
The solution to this is to make sure you code your containers correctly and not have a look at DW's CSS to fix it.
Without the HTML of your page (post it in pastebin and link it here), can't give a better answer.
Make sure you VALIDATE your code. In my experience using dreaweaver, the doctype declaration and the order of the tags can affect image positioning.
That was because you used different browser. In using Dreamweaver, try to not leave default values. For better debug you should code it with HTML and CSS. Those are not programming languages because they don't need exactly programming knownledge.
A really good HTML lessons at w3c.
A really good CSS lessons at w3c.