BUTTON HELP CANT MARGIN

Status
This thread has been locked.

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
k, so I am trying to margin a button a little bit from the left so like margin-left: 10px;
But it wont work.
HTML
HTML:
  <div class="left">
  </div>
  <div class="right">
    <h1>Melvin Lindström</h1>
    <h2>Web Devoloper<br>Studying to become a full time Web Devoloper</br>Html, JavaScript, </h2>
    <button class="btn-1" type="button" name="button">Learn More</button>
  </div>
Code:
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Karla');

* {
  padding: 0;
  margin: 0 auto;
}

body, html {
  height: 100%;
}

.left {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  float: left;
  width: 100%;
  background-image: url("https://i.imgur.com/zNWNuFB.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
}

.right {
  display: inline-block;
  overflow: hidden;
  float: right;
  width: 100%;
  background-color: #151515;
  height: 100%;
  -webkit-clip-path: polygon(50% 0, 0 80%, 0 0);
  clip-path: polygon(45% 0, 0 60%, 0 0);
  opacity: 0.9;
}

.right h1 {
  color: white;
  margin-left: 2%;
  margin-top: 5%;
  font-family: Roboto;
  font-size: 40px;
}

.right h2 {
  color: white;
  margin-left: 2%;
  margin-top: 2%;
  font-size: 15px;
  font-family: Roboto;
}

.btn-1 {
  display: block;
  margin-left: 2px;
  margin-top: 2px;
}
unknown.png
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
FIXED IT !
 

Nigel

Supreme
Feedback score
5
Posts
141
Reactions
31
Resources
0
Pleas mark thread as complete or closed :) try using stackoverflow for those type of questions :D
 

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
And you represent yourself as a Web Developer ("Devoloper" as how you wrote it on your portfolio page) as well as experience in html and css segments yet you ask around forums how something is done. Look, you won't get thousands of dollars like other Web developers or designers by having a portfolio page and by asking other people how something is done. Practice.

I hate when some random guy comes into this kind of business and wants to earn hundreds or thousands of dollars just because he thinks it's easy money, don't you all think the same? Lame. Why even bother having a portfolio page? Make a pdf version of your portfolio and advertise it around, way easier and less complicated for you fella.
Gtfo off my thread. I am learning, It was an error I fixed it myself. Stop crying u poor shit kid. Stop being such a negative guy. I am learning like we all did once in our carrier
 

Xenons

Web Designer & Developer
Premium
Feedback score
3
Posts
305
Reactions
151
Resources
0
Lets be clear Denis isn't wrong
Judging by your code you started recently so my recommendation is actually listening to criticism and trying to improve
He was harsh yes but still there is no reason to rage for that and act like a 5 year old.

I could even go as far and say that the code provided above is just copy paste from random google searches since in same class you use position absolute and float for no reason, use either one or another there is no need for both

Either way hopefully you will take this serious instead of bursting out again and try learning more indepth how it all works before trying to find web dev/des jobs.
 

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
Lets be clear Denis isn't wrong
Judging by your code you started recently so my recommendation is actually listening to criticism and trying to improve
He was harsh yes but still there is no reason to rage for that and act like a 5 year old.

I could even go as far and say that the code provided above is just copy paste from random google searches since in same class you use position absolute and float for no reason, use either one or another there is no need for both

Either way hopefully you will take this serious instead of bursting out again and try learning more indepth how it all works before trying to find web dev/des jobs.
I am always taking criticism if it's not harsh, I see you tell me my code is from google etc etc. And to answer that it isn't, I'm just learning and playing around with things that work. And ye, people can give me feedback, but why be toxic etc when giving it. I'm new okey?
 

xGarve

Trailer Creator Garve#6098
Supreme
Feedback score
64
Posts
174
Reactions
226
Resources
0
And you represent yourself as a Web Developer ("Devoloper" as how you wrote it on your portfolio page) as well as experience in html and css segments yet you ask around forums how something is done. Look, you won't get thousands of dollars like other Web developers or designers by having a portfolio page and by asking other people how something is done. Practice.

I hate when some random guy comes into this kind of business and wants to earn hundreds or thousands of dollars just because he thinks it's easy money, don't you all think the same? Lame. Why even bother having a portfolio page? Make a pdf version of your portfolio and advertise it around, way easier and less complicated for you fella.


This comment does not make any sense at all. This person is just asking for an answer. Instead of helping him you are pissing him of. Go get a life and let this person do his thing.

Kind Regards
 

Areeb

Supreme
Feedback score
41
Posts
1,251
Reactions
442
Resources
0
And you represent yourself as a Web Developer ("Devoloper" as how you wrote it on your portfolio page) as well as experience in html and css segments yet you ask around forums how something is done. Look, you won't get thousands of dollars like other Web developers or designers by having a portfolio page and by asking other people how something is done. Practice.

I hate when some random guy comes into this kind of business and wants to earn hundreds or thousands of dollars just because he thinks it's easy money, don't you all think the same? Lame. Why even bother having a portfolio page? Make a pdf version of your portfolio and advertise it around, way easier and less complicated for you fella.
And who are you may I ask?
 

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
This comment does not make any sense at all. This person is just asking for an answer. Instead of helping him you are pissing him of. Go get a life and let this person do his thing.

Kind Regards
And who are you may I ask?
Thanks guys, If you need a website for anything soon, I'll make it for free for practice. Just pm me. Thanks for supporting me here <3
 

xGarve

Trailer Creator Garve#6098
Supreme
Feedback score
64
Posts
174
Reactions
226
Resources
0
Thanks guys, If you need a website for anything soon, I'll make it for free for practice. Just pm me. Thanks for supporting me here <3

Haha, I am in the Industry for over 3 years now. Thanks though. Goodluck ;)
 

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0

CodySir

Googling things
Supreme
Feedback score
21
Posts
373
Reactions
222
Resources
0
I like how he calls himself a "Developer" yet doesn't know HTML or CSS Fluently and I DONT EVEN CONSIDER THOSE FULL BLOWN PROGRAMMING LANGUAGES. LMFAO
 

CodySir

Googling things
Supreme
Feedback score
21
Posts
373
Reactions
222
Resources
0
okay who cares he's learning. html and css arent programming languages at all so you cant consider them a programming language at all
Who cares? I do. It's like me going around saying I can speak in Spanish but can only ask for your name, say my name, ask how to get to a place, and other tiny stuff. Just because I know a couple lines doesn't mean I can speak in Spanish fluently.
 

CodySir

Googling things
Supreme
Feedback score
21
Posts
373
Reactions
222
Resources
0
what are you even saying you make no sense. im just trying to stand up for the person who keeps getting shitted on because he wanted help. especially when the person talking thinks html is a programming language
I said it isn't a full blown out programming language because I didn't want to trigger people like you. Lmfao Retard
 
Status
This thread has been locked.
Top