Hallo Leute,
ich arbeite derzeit an einem eigenen Template und bräuchte eure Hilfe.
ich komme nämlich bei dem Viewport nicht mehr weiter. =(
Da ich das Template mobil optimiert, aber gleichzeitig auch Desktop-orientiert auf eBay einstellen möchte, brauche ich dafür unbedingt eine Lösung.
Ich hoffe ihr könnt mir hier weiterhelfen. Aus den ganzen Wikiseiten wurde ich bisher nicht schlau…
Ich weiß, dass sobald ich die Size im Body Font entferne, die Schriftart automatisch auf den Standard zurückgesetzt wird.
Außerdem weiß ich, dass ich mit PX, R/EM, %, VW, VH usw. absolute Größen festsetzen kann.
Mehr aber derzeit leider nicht.
Danke im Voraus!! =)
Hier ist das, was ich bisher habe:
/HTML/
/* CSS Document */
body,div,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,input,
textarea{margin:0;padding:0}
table{border-spacing:0;border-collapse:collapse}
body {font: 5vw „Century Gothic“,Verdana,sans-serif;}
/Body/
.bg {background: linear-gradient(to right, #000000, #ff0074, #000000); margin: 0px 0px 0px 0px; height: 600%; }
.bg2 {background: linear-gradient(to right, #e8e8e8, #ffffff, #e8e8e8); margin: 0 15% 0px 15%; height: 95%; }
.head img {width: 100%; background: linear-gradient( to right, #000000, #ff0074, #000000); }
.center {float: center; text-align: center; }
.left {float: left; text-align: left; }
.right {float: right; text-align: right; }
.tab {text-indent: 2.5%; }
/End Body/
.protab {width: 30%; margin: 5.5% 0 0 45%; position:absolute; }
.proa {width: 10%; Color: #7f0039; padding: 1% 0 0 0; }
.prob {width: 30%; Color #000; padding: 1% 0 0 0; }
.proc {width: 10%; Color: #7f0039; padding: 1% 0 0 0; }
.prod {width: 30%; Color #000; padding: 1% 0 0 0; }
Lorem | |
Ipsum | Dolor |
Sit | Amet |
Consetetur | Sadipscing |
Elitr | Sed |
Diam | Nonumy |
Eirmod | Tempor |
... | ... |
... | ... |
... | ... |
... | ... |
✓ | ... |
✓ | ... |
✓ |